class OpenTransactToken

Public Instance Methods

client() click to toggle source

def self.consumer

@consumer||=server.consumer

end

# File lib/oauth/models/consumers/services/opentransact_token.rb, line 12
def client
  @client ||= OpenTransact::Client.new self.class.credentials.merge( {:token=>token, :secret=>secret})
end