class Braintree::PaymentMethodCustomerDataUpdatedMetadata
Attributes
Public Class Methods
Source
# File lib/braintree/payment_method_customer_data_updated_metadata.rb, line 20 def self._new(*args) self.new(*args) end
Protected Class Methods
Source
# File lib/braintree/payment_method_customer_data_updated_metadata.rb, line 10 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