Exception: ServiceException
- Inherits:
-
Exception
- Object
- Exception
- ServiceException
- Defined in:
- lib/service_exception.rb
Overview
Represents a negative service response
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ServiceException
constructor
A new instance of ServiceException.
Constructor Details
#initialize(response) ⇒ ServiceException
Returns a new instance of ServiceException.
5 6 7 |
# File 'lib/service_exception.rb', line 5 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
3 4 5 |
# File 'lib/service_exception.rb', line 3 def response @response end |