Exception: Shutl::UnauthorizedAccess

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shutl_auth.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, status = nil) ⇒ UnauthorizedAccess

Returns a new instance of UnauthorizedAccess.



16
17
18
19
# File 'lib/shutl_auth.rb', line 16

def initialize(message = nil, status = nil)
  super(message)
  @status = status
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



14
15
16
# File 'lib/shutl_auth.rb', line 14

def status
  @status
end