Exception: Mollie::MollieException
- Inherits:
-
Exception
- Object
- Exception
- Mollie::MollieException
- Defined in:
- lib/mollie.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
- #credits ⇒ Object
-
#initialize(response) ⇒ MollieException
constructor
A new instance of MollieException.
- #resultcode ⇒ Object
Constructor Details
#initialize(response) ⇒ MollieException
Returns a new instance of MollieException.
144 145 146 |
# File 'lib/mollie.rb', line 144 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
142 143 144 |
# File 'lib/mollie.rb', line 142 def response @response end |
Instance Method Details
#credits ⇒ Object
148 149 150 |
# File 'lib/mollie.rb', line 148 def credits response.credits end |
#resultcode ⇒ Object
152 153 154 |
# File 'lib/mollie.rb', line 152 def resultcode response.resultcode end |