Exception: Rentlinx::Forbidden
- Inherits:
-
HTTPError
- Object
- StandardError
- RentlinxError
- HTTPError
- Rentlinx::Forbidden
- Defined in:
- lib/rentlinx/errors.rb
Overview
Thrown when error code 403 (forbidden) is received
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(response) ⇒ Forbidden
constructor
A new instance of Forbidden.
Constructor Details
#initialize(response) ⇒ Forbidden
Returns a new instance of Forbidden.
84 85 86 |
# File 'lib/rentlinx/errors.rb', line 84 def initialize(response) super(response, 'You are not permitted to access the item you requested.') end |