Class: Devise::Strategies::NaughtAuthentication

Inherits:
Authenticatable
  • Object
show all
Defined in:
lib/devise/naught_authentication/strategy.rb

Instance Method Summary collapse

Instance Method Details

#authenticate!Object



8
9
10
# File 'lib/devise/naught_authentication/strategy.rb', line 8

def authenticate!
  fail! "This is Naught Authentication"
end

#valid?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/devise/naught_authentication/strategy.rb', line 4

def valid?
  false
end