Class: Spreedly::RecacheSensitiveData
- Inherits:
-
Transaction
- Object
- Model
- Transaction
- Spreedly::RecacheSensitiveData
- Defined in:
- lib/spreedly/transactions/recache_sensitive_data.rb
Instance Attribute Summary collapse
-
#payment_method ⇒ Object
readonly
Returns the value of attribute payment_method.
Instance Method Summary collapse
-
#initialize(xml_doc) ⇒ RecacheSensitiveData
constructor
A new instance of RecacheSensitiveData.
Methods inherited from Transaction
Methods included from Fields
#field_hash, included, #initialize_fields
Constructor Details
#initialize(xml_doc) ⇒ RecacheSensitiveData
Returns a new instance of RecacheSensitiveData.
8 9 10 11 |
# File 'lib/spreedly/transactions/recache_sensitive_data.rb', line 8 def initialize(xml_doc) super @payment_method = PaymentMethod.new_from(xml_doc.at_xpath('.//payment_method')) end |
Instance Attribute Details
#payment_method ⇒ Object (readonly)
Returns the value of attribute payment_method.
6 7 8 |
# File 'lib/spreedly/transactions/recache_sensitive_data.rb', line 6 def payment_method @payment_method end |