Exception: Shutl::Resource::Error
- Inherits:
-
IOError
- Object
- IOError
- Shutl::Resource::Error
- Defined in:
- lib/shutl/resource/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, http_response) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, http_response) ⇒ Error
Returns a new instance of Error.
4 5 6 7 8 |
# File 'lib/shutl/resource/errors.rb', line 4 def initialize , http_response @response = http_response super #it really is rather spot on, why thanks for saying, kind sir. end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
2 3 4 |
# File 'lib/shutl/resource/errors.rb', line 2 def response @response end |