| Class | OAuth::Server |
| In: |
lib/oauth/server.rb
|
| Parent: | Object |
This is mainly used to create consumer credentials and can pretty much be ignored if you want to create your own
| base_url | [RW] |
mainly for testing purposes
# File lib/oauth/server.rb, line 31 def create_consumer creds = generate_credentials Consumer.new(creds[0], creds[1], { :site => base_url, :request_token_path => request_token_path, :authorize_path => authorize_path, :access_token_path => access_token_path }) end
# File lib/oauth/server.rb, line 26 def generate_consumer_credentials(params = {}) Consumer.new(*generate_credentials) end