Class: ActiveMerchant::Billing::BpointGateway::BPointResponse
- Inherits:
-
Object
- Object
- ActiveMerchant::Billing::BpointGateway::BPointResponse
- Defined in:
- lib/active_merchant/billing/gateways/bpoint.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#gateway ⇒ Object
readonly
Returns the value of attribute gateway.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#xml_doc ⇒ Object
readonly
Returns the value of attribute xml_doc.
Instance Method Summary collapse
-
#initialize(xml_doc, gateway) ⇒ BPointResponse
constructor
A new instance of BPointResponse.
- #to_response ⇒ Object
Constructor Details
#initialize(xml_doc, gateway) ⇒ BPointResponse
Returns a new instance of BPointResponse.
208 209 210 211 212 |
# File 'lib/active_merchant/billing/gateways/bpoint.rb', line 208 def initialize(xml_doc, gateway) @xml_doc = xml_doc @gateway = gateway @params = init_params end |
Instance Attribute Details
#gateway ⇒ Object (readonly)
Returns the value of attribute gateway.
206 207 208 |
# File 'lib/active_merchant/billing/gateways/bpoint.rb', line 206 def gateway @gateway end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
206 207 208 |
# File 'lib/active_merchant/billing/gateways/bpoint.rb', line 206 def params @params end |
#xml_doc ⇒ Object (readonly)
Returns the value of attribute xml_doc.
206 207 208 |
# File 'lib/active_merchant/billing/gateways/bpoint.rb', line 206 def xml_doc @xml_doc end |