Exception: Pay::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Pay::Error
- Defined in:
- lib/pay/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(result = nil) ⇒ Error
Returns a new instance of Error.
5 6 7 |
# File 'lib/pay/errors.rb', line 5 def initialize(result = nil) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
3 4 5 |
# File 'lib/pay/errors.rb', line 3 def result @result end |