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
50 51 52 53 |
# File 'lib/reviewed.rb', line 50 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.
49 50 51 |
# File 'lib/reviewed.rb', line 49 def http_status @http_status end |