lib/oauth/server.rb in mojodna-oauth-0.3.1.1 vs lib/oauth/server.rb in mojodna-oauth-0.3.1.2

- old
+ new

@@ -27,16 +27,17 @@ Consumer.new(*generate_credentials) end # mainly for testing purposes def create_consumer - Consumer.new(*generate_credentials, + 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 def request_token_path @paths[:request_token_path] end