Exception: Reviewed::ApiError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/reviewed.rb

Instance Attribute Summary collapse

Attributes inherited from BaseError

#url

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ ApiError

Returns a new instance of ApiError.



48
49
50
51
# File 'lib/reviewed.rb', line 48

def initialize(opts={})
  @http_status = opts[:http_status]
  super(opts)
end

Instance Attribute Details

#http_statusObject (readonly)

Returns the value of attribute http_status.



47
48
49
# File 'lib/reviewed.rb', line 47

def http_status
  @http_status
end