Class: Occi::HTTPResponseError

Inherits:
HTTParty::ResponseError
  • Object
show all
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

Instance Method Summary collapse

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

#messageObject (readonly)

Returns the value of attribute message.



89
90
91
# File 'lib/probe/occi/nocci/resource.rb', line 89

def message
  @message
end