Exception: SmoothOperator::Exceptions::Base
- Inherits:
-
StandardError
- Object
- StandardError
- SmoothOperator::Exceptions::Base
- Defined in:
- lib/smooth_operator/exceptions.rb
Direct Known Subclasses
AuthorizationRequired, EntityNotProcessed, NotFound, ServerError, Unknown
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(response) ⇒ Base
Returns a new instance of Base.
15 16 17 |
# File 'lib/smooth_operator/exceptions.rb', line 15 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
13 14 15 |
# File 'lib/smooth_operator/exceptions.rb', line 13 def response @response end |