Exception: Rentlinx::Forbidden

Inherits:
HTTPError show all
Defined in:
lib/rentlinx/errors.rb

Overview

Thrown when error code 403 (forbidden) is received

Instance Attribute Summary

Attributes inherited from HTTPError

#response

Instance Method Summary collapse

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