Sha256: 8715b43622782eb9efdd0160753e3b9ea73c8835b965d7b1219531e6dd32d870
Contents?: true
Size: 664 Bytes
Versions: 10
Compression:
Stored size: 664 Bytes
Contents
module Braintree class PaymentMethodCustomerDataUpdatedMetadata include BaseModule attr_reader :token attr_reader :payment_method attr_reader :datetime_updated attr_reader :enriched_customer_data def initialize(gateway, attributes) # :nodoc: set_instance_variables_from_hash(attributes) @payment_method = PaymentMethodParser.parse_payment_method(gateway, attributes[:payment_method]) @enriched_customer_data = EnrichedCustomerData._new(enriched_customer_data) if enriched_customer_data end class << self protected :new end def self._new(*args) # :nodoc: self.new(*args) end end end
Version data entries
10 entries across 10 versions & 1 rubygems