Exception: ContentGateway::Forbidden

Inherits:
BaseError
  • Object
show all
Defined in:
lib/content_gateway/exceptions.rb

Instance Attribute Summary

Attributes inherited from BaseError

#info, #resource_url, #status_code, #wrapped_exception

Instance Method Summary collapse

Constructor Details

#initialize(resource_url, wrapped_exception = nil) ⇒ Forbidden

Returns a new instance of Forbidden.



28
29
30
# File 'lib/content_gateway/exceptions.rb', line 28

def initialize(resource_url, wrapped_exception = nil)
  super(resource_url, wrapped_exception, 403)
end