Sha256: c919e5f2971040b9aa3b933c1c25423f8919b2abaee28934c4c0ec0eff9f296f

Contents?: true

Size: 334 Bytes

Versions: 6

Compression:

Stored size: 334 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

6 entries across 6 versions & 3 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/oauth/models/consumers/services/opentransact_token.rb
panjiva-oauth-plugin-0.4.1 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.5.1 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.5.0 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.1 lib/oauth/models/consumers/services/opentransact_token.rb
oauth-plugin-0.4.0 lib/oauth/models/consumers/services/opentransact_token.rb