Exception: ROX::OXException
- Inherits:
-
Exception
- Object
- Exception
- ROX::OXException
- Defined in:
- lib/rox/exception.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ OXException
constructor
A new instance of OXException.
- #to_s ⇒ Object
Constructor Details
#initialize(response) ⇒ OXException
Returns a new instance of OXException.
4 5 6 |
# File 'lib/rox/exception.rb', line 4 def initialize(response) @response = response end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/rox/exception.rb', line 8 def to_s @response.error end |