Module: OAuthHelpers

Included in:
ClientApplicationTest
Defined in:
lib/generators/test_unit/templates/client_application_test.rb

Instance Method Summary collapse

Instance Method Details

#create_consumerObject



4
5
6
7
8
9
# File 'lib/generators/test_unit/templates/client_application_test.rb', line 4

def create_consumer
  @consumer=OAuth::Consumer.new(@application.key,@application.secret,
    {
      :site=>@application.oauth_server.base_url
    })
end