lib/oauth/models/consumers/services/opentransact_token.rb in oauth-plugin-0.4.0.rc2 vs lib/oauth/models/consumers/services/opentransact_token.rb in oauth-plugin-0.4.0
- old
+ new
@@ -1,15 +1,15 @@
require 'opentransact'
class OpenTransactToken < ConsumerToken
-
+
# def self.server
# @consumer||=OpenTransact::Server.new credentials
# end
-
+
# def self.consumer
# @consumer||=server.consumer
# end
-
- def client
+
+ def client
@client ||= OpenTransact::Client.new self.class.credentials.merge( {:token=>token, :secret=>secret})
end
end
\ No newline at end of file