Exception: PayLane::ConnectionError
- Inherits:
-
StandardError
- Object
- StandardError
- PayLane::ConnectionError
- Defined in:
- lib/paylane/connection_error.rb
Instance Attribute Summary collapse
-
#soap_error ⇒ Object
readonly
Returns the value of attribute soap_error.
Instance Method Summary collapse
-
#initialize(soap_error) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
- #to_hash ⇒ Object
Constructor Details
#initialize(soap_error) ⇒ ConnectionError
Returns a new instance of ConnectionError.
5 6 7 |
# File 'lib/paylane/connection_error.rb', line 5 def initialize(soap_error) @soap_error = soap_error end |
Instance Attribute Details
#soap_error ⇒ Object (readonly)
Returns the value of attribute soap_error.
3 4 5 |
# File 'lib/paylane/connection_error.rb', line 3 def soap_error @soap_error end |
Instance Method Details
#to_hash ⇒ Object
9 10 11 |
# File 'lib/paylane/connection_error.rb', line 9 def to_hash @soap_error.to_hash end |