Class: Braintree::EnrichedCustomerData
- Inherits:
-
Object
- Object
- Braintree::EnrichedCustomerData
- Includes:
- BaseModule
- Defined in:
- lib/braintree/enriched_customer_data.rb
Instance Attribute Summary collapse
-
#fields_updated ⇒ Object
readonly
Returns the value of attribute fields_updated.
-
#profile_data ⇒ Object
readonly
Returns the value of attribute profile_data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ EnrichedCustomerData
constructor
A new instance of EnrichedCustomerData.
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(attributes) ⇒ EnrichedCustomerData
Returns a new instance of EnrichedCustomerData.
8 9 10 11 |
# File 'lib/braintree/enriched_customer_data.rb', line 8 def initialize(attributes) set_instance_variables_from_hash(attributes) @profile_data = VenmoProfileData._new(attributes[:profile_data]) end |
Instance Attribute Details
#fields_updated ⇒ Object (readonly)
Returns the value of attribute fields_updated.
5 6 7 |
# File 'lib/braintree/enriched_customer_data.rb', line 5 def fields_updated @fields_updated end |
#profile_data ⇒ Object (readonly)
Returns the value of attribute profile_data.
6 7 8 |
# File 'lib/braintree/enriched_customer_data.rb', line 6 def profile_data @profile_data end |
Class Method Details
._new(*args) ⇒ Object
17 18 19 |
# File 'lib/braintree/enriched_customer_data.rb', line 17 def self._new(*args) self.new(*args) end |