Module: Devise::Models::HttpAuthenticatable

Defined in:
lib/devise/models/http_authenticatable.rb

Overview

Adds HttpAuthenticatable behavior to your model. It expects that your model class responds to authenticate and authentication_keys methods (which for example are defined in authenticatable).

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
# File 'lib/devise/models/http_authenticatable.rb', line 9

def self.included(base)
  base.extend ClassMethods
end