Class: Occi::HTTPResponseError
- Inherits:
-
HTTParty::ResponseError
- Object
- HTTParty::ResponseError
- Occi::HTTPResponseError
- Defined in:
- lib/probe/occi/nocci/resource.rb
Overview
HTTPResponseError class. Slightly modified HTTParty::ResponseError for better cooperation with existing code
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(m) ⇒ HTTPResponseError
constructor
A new instance of HTTPResponseError.
Constructor Details
#initialize(m) ⇒ HTTPResponseError
Returns a new instance of HTTPResponseError.
91 92 93 94 |
# File 'lib/probe/occi/nocci/resource.rb', line 91 def initialize(m) super(m) @message = m end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
89 90 91 |
# File 'lib/probe/occi/nocci/resource.rb', line 89 def @message end |