Sha256: dc02969670c37810279a34fb774c77cae744e4790327e9e8e6c895d2370b713b

Contents?: true

Size: 388 Bytes

Versions: 8

Compression:

Stored size: 388 Bytes

Contents

module Braintree
  class OAuthCredentials
    include BaseModule

    attr_reader :access_token
    attr_reader :expires_at
    attr_reader :refresh_token
    attr_reader :token_type

    def initialize(attributes)
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
    end

    def self._new(*args)
      self.new(*args)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/oauth_credentials.rb
braintree-4.22.0 lib/braintree/oauth_credentials.rb
braintree-4.21.0 lib/braintree/oauth_credentials.rb
braintree-4.20.0 lib/braintree/oauth_credentials.rb
braintree-4.19.0 lib/braintree/oauth_credentials.rb
braintree-4.18.0 lib/braintree/oauth_credentials.rb
braintree-4.17.0 lib/braintree/oauth_credentials.rb
braintree-4.16.0 lib/braintree/oauth_credentials.rb