Exception: Payline::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Payline::Error
- Defined in:
- lib/payline/exceptions.rb
Instance Method Summary collapse
-
#initialize(message, result = {}) ⇒ Error
constructor
A new instance of Error.
- #result ⇒ Object
Constructor Details
#initialize(message, result = {}) ⇒ Error
Returns a new instance of Error.
4 5 6 7 |
# File 'lib/payline/exceptions.rb', line 4 def initialize(, result = {}) super() @result = result end |
Instance Method Details
#result ⇒ Object
9 10 11 |
# File 'lib/payline/exceptions.rb', line 9 def result @result end |