Exception: Wakame::JsonRequester::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Wakame::JsonRequester::ResponseError
- Defined in:
- lib/wakame/runner/administrator_command.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#json_hash ⇒ Object
readonly
Returns the value of attribute json_hash.
Instance Method Summary collapse
-
#initialize(json_hash = nil, message_prefix = self.class.to_s) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(json_hash = nil, message_prefix = self.class.to_s) ⇒ ResponseError
Returns a new instance of ResponseError.
114 115 116 117 |
# File 'lib/wakame/runner/administrator_command.rb', line 114 def initialize(json_hash=nil, =self.class.to_s) super( + ":" + json_hash[0]["message"]) @json_hash = json_hash end |
Instance Attribute Details
#json_hash ⇒ Object (readonly)
Returns the value of attribute json_hash.
113 114 115 |
# File 'lib/wakame/runner/administrator_command.rb', line 113 def json_hash @json_hash end |