Exception: Authmagic::LoginRequired

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ LoginRequired

Returns a new instance of LoginRequired.



18
19
20
# File 'lib/authmagic/exceptions.rb', line 18

def initialize(msg = nil)
  super(msg || 'login required')
end