Sha256: f7571306bb720ca018c4783f0cdd530570534c31c9220065ad8b34cfdd70aac0
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 Bytes
Contents
require 'agree2' class Agree2Token < ConsumerToken AGREE2_SETTINGS={:site=>"https://agree2.com"} def self.consumer @consumer||=OAuth::Consumer.new credentials[:key],credentials[:secret],AGREE2_SETTINGS end def self.agree2_client @agree2_client||=Agree2::Client.new credentials[:key],credentials[:secret] end def client @client||=Agree2Token.agree2_client.user(token,secret) end end
Version data entries
6 entries across 6 versions & 3 rubygems