Exception: Regio::Forbidden

Inherits:
StandardError
  • Object
show all
Defined in:
lib/regio/errors/forbidden.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Forbidden') ⇒ Forbidden

Returns a new instance of Forbidden.



5
6
7
# File 'lib/regio/errors/forbidden.rb', line 5

def initialize(msg = 'Forbidden')
  super
end

Instance Method Details

#http_status_codeObject



9
10
11
# File 'lib/regio/errors/forbidden.rb', line 9

def http_status_code
  403
end