Exception: Reviewed::ApiError
- Defined in:
- lib/reviewed.rb
Instance Attribute Summary collapse
-
#http_status ⇒ Object
readonly
Returns the value of attribute http_status.
Attributes inherited from BaseError
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ApiError
constructor
A new instance of ApiError.
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_status ⇒ Object (readonly)
Returns the value of attribute http_status.
47 48 49 |
# File 'lib/reviewed.rb', line 47 def http_status @http_status end |