Sha256: a985e214529d67259ebf8fc19d6abb4adc23ee75f5a64760ef9f704c6fd28e1e

Contents?: true

Size: 418 Bytes

Versions: 17

Compression:

Stored size: 418 Bytes

Contents

module Braintree
  class OAuthCredentials
    include BaseModule # :nodoc:

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

    def initialize(attributes) # :nodoc:
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
    end

    def self._new(*args) # :nodoc:
      self.new(*args)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/oauth_credentials.rb
braintree-4.14.0 lib/braintree/oauth_credentials.rb
braintree-4.13.0 lib/braintree/oauth_credentials.rb
braintree-4.12.0 lib/braintree/oauth_credentials.rb
braintree-4.11.0 lib/braintree/oauth_credentials.rb
braintree-4.10.0 lib/braintree/oauth_credentials.rb
braintree-4.9.0 lib/braintree/oauth_credentials.rb
braintree-4.8.0 lib/braintree/oauth_credentials.rb
braintree-4.7.0 lib/braintree/oauth_credentials.rb
braintree-4.6.0 lib/braintree/oauth_credentials.rb
braintree-4.5.0 lib/braintree/oauth_credentials.rb
braintree-4.4.0 lib/braintree/oauth_credentials.rb
braintree-4.3.0 lib/braintree/oauth_credentials.rb
braintree-4.2.0 lib/braintree/oauth_credentials.rb
braintree-4.1.0 lib/braintree/oauth_credentials.rb
braintree-4.0.0 lib/braintree/oauth_credentials.rb
braintree-3.4.0 lib/braintree/oauth_credentials.rb