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.



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

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

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



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

def status
  @status
end