Exception: PagarMe::ConnectionError
- Inherits:
-
PagarMeError
- Object
- StandardError
- PagarMeError
- PagarMe::ConnectionError
- Defined in:
- lib/pagarme/errors.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(error) ⇒ ConnectionError
Returns a new instance of ConnectionError.
8 9 10 11 |
# File 'lib/pagarme/errors.rb', line 8 def initialize(error) @error = error super error. end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
6 7 8 |
# File 'lib/pagarme/errors.rb', line 6 def error @error end |