Sha256: 02362f1c3fee47e6a1a24fd976eff5fe05f0b275b00fa0119d80146f0883bf7f

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

module Braintree
  class GrantedPaymentInstrumentUpdate
    include BaseModule

    attr_reader :grant_owner_merchant_id, :grant_recipient_merchant_id, :payment_method_nonce, :token, :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

3 entries across 3 versions & 1 rubygems

Version Path
braintree-2.80.1 lib/braintree/granted_payment_instrument_update.rb
braintree-2.80.0 lib/braintree/granted_payment_instrument_update.rb
braintree-2.79.0 lib/braintree/granted_payment_instrument_update.rb