Module: Oauth::Models::Consumers::Token::InstanceMethods

Defined in:
lib/oauth/models/consumers/token.rb

Instance Method Summary collapse

Instance Method Details

#clientObject

Main client for interfacing with remote service. Override this to use preexisting library eg. Twitter gem.



52
53
54
# File 'lib/oauth/models/consumers/token.rb', line 52

def client
  @client||=OAuth::AccessToken.new self.class.consumer,token,secret
end