Class: Mollie::IdealResponse
- Inherits:
-
Object
- Object
- Mollie::IdealResponse
- Defined in:
- lib/mollie/ideal_response.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(xml_response) ⇒ IdealResponse
constructor
A new instance of IdealResponse.
Constructor Details
#initialize(xml_response) ⇒ IdealResponse
Returns a new instance of IdealResponse.
6 7 8 9 |
# File 'lib/mollie/ideal_response.rb', line 6 def initialize(xml_response) self.payload = xml_response.response raise Mollie::IdealException.new(errorcode, ) if error_occured? end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
4 5 6 |
# File 'lib/mollie/ideal_response.rb', line 4 def payload @payload end |