Exception: HalApi::Errors::Forbidden

Inherits:
ApiError
  • Object
show all
Defined in:
lib/hal_api/errors.rb

Instance Attribute Summary

Attributes inherited from ApiError

#hint, #status

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, hint = nil) ⇒ Forbidden

Returns a new instance of Forbidden.



17
18
19
# File 'lib/hal_api/errors.rb', line 17

def initialize(message = nil, hint = nil)
  super(message || 'Forbidden', 403, hint)
end