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