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