Sha256: 16c72348f3626c10734fa8465959ff55c2ee26264041023a6543c9f3bd6bcb18

Contents?: true

Size: 344 Bytes

Versions: 10

Compression:

Stored size: 344 Bytes

Contents

require 'opentransact'
class OpenTransactToken < ConsumerToken
  
#  def self.server
#    @consumer||=OpenTransact::Server.new credentials
#  end
  
#  def self.consumer
#    @consumer||=server.consumer
#  end
  
  def client    
    @client ||= OpenTransact::Client.new self.class.credentials.merge( {:token=>token, :secret=>secret})
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
oauth-plugin-0.4.0.rc2 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0.rc1 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0.pre7 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0.pre6 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0.pre5 lib/oauth/models/consumers/services/opentransact_token.rb
insrc-oauth-plugin-0.4.0.pre6 lib/oauth/models/consumers/services/opentransact_token.rb
insrc-oauth-plugin-0.4.0.pre5 lib/oauth/models/consumers/services/opentransact_token.rb
le1t0-oauth-plugin-0.4.0.pre4.001 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0.pre4 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0.pre3 lib/oauth/models/consumers/services/opentransact_token.rb