Exception: Authmagic::Unauthorized

Inherits:
AuthorizationError show all
Defined in:
lib/authmagic/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ Unauthorized

Returns a new instance of Unauthorized.



27
28
29
# File 'lib/authmagic/exceptions.rb', line 27

def initialize(msg = nil)
  super(msg || 'access denied')
end