Files

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

Public Instance Methods

client() click to toggle source

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

# File lib/oauth/models/consumers/token.rb, line 53
def client
  @client||=OAuth::AccessToken.new self.class.consumer,token,secret
end
simple_client() click to toggle source
# File lib/oauth/models/consumers/token.rb, line 57
def simple_client
  @simple_client||=SimpleClient.new OAuth::AccessToken.new( self.class.consumer,token,secret)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.