Sha256: 5c48d5ef1d5845360876069d3ef729bbb1bd254979ff56757d0ec8fef3824e70

Contents?: true

Size: 546 Bytes

Versions: 17

Compression:

Stored size: 546 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

17 entries across 17 versions & 1 rubygems

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