Exception: Ondotori::WebAPI::Api::Errors::HttpAccessError

Inherits:
Error
  • Object
show all
Defined in:
lib/ondotori/webapi/api/errors.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(message, detail, code = nil) ⇒ HttpAccessError

Returns a new instance of HttpAccessError.



32
33
34
35
# File 'lib/ondotori/webapi/api/errors.rb', line 32

def initialize(message, detail, code = nil)
  super message, code
  @detail = detail
end

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail.



30
31
32
# File 'lib/ondotori/webapi/api/errors.rb', line 30

def detail
  @detail
end