Sha256: 33f9b3570db0b6d51a03a2122985bbd8ed845ace4db883b0f6c6d9c352e150cd

Contents?: true

Size: 545 Bytes

Versions: 29

Compression:

Stored size: 545 Bytes

Contents

module Braintree
  class GrantedPaymentInstrumentUpdate
    include BaseModule

    attr_reader :grant_owner_merchant_id
    attr_reader :grant_recipient_merchant_id
    attr_reader :payment_method_nonce
    attr_reader :token
    attr_reader :updated_fields

    def initialize(attributes)
      set_instance_variables_from_hash(attributes)
      @payment_method_nonce = attributes[:payment_method_nonce][:nonce]
    end

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
braintree-3.3.0 lib/braintree/granted_payment_instrument_update.rb
braintree-3.2.0 lib/braintree/granted_payment_instrument_update.rb
braintree-3.1.0 lib/braintree/granted_payment_instrument_update.rb
braintree-3.0.1 lib/braintree/granted_payment_instrument_update.rb
braintree-2.104.1 lib/braintree/granted_payment_instrument_update.rb
braintree-2.104.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.103.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.102.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.101.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.100.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.99.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.98.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.97.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.96.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.95.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.94.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.93.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.92.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.91.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.90.0 lib/braintree/granted_payment_instrument_update.rb