Sha256: 4f51b4c1d30b2856581c6892a48dfbe42400b7a2bf9c620d4be759a7d0851a0e
Contents?: true
Size: 644 Bytes
Versions: 8
Compression:
Stored size: 644 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) 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) self.new(*args) end end end
Version data entries
8 entries across 8 versions & 1 rubygems