Exception: Xpay::XpayError
- Inherits:
-
StandardError
- Object
- StandardError
- Xpay::XpayError
- Defined in:
- lib/xpay.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ XpayError
constructor
A new instance of XpayError.
Constructor Details
#initialize(data) ⇒ XpayError
Returns a new instance of XpayError.
42 43 44 45 |
# File 'lib/xpay.rb', line 42 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
40 41 42 |
# File 'lib/xpay.rb', line 40 def data @data end |