Module: Devise::Models::ImapAuthenticatable::ClassMethods
- Defined in:
- lib/devise_imap_authenticatable/model.rb
Instance Method Summary collapse
-
#build_for_imap_authentication(conditions) ⇒ Object
Override in your models if you want to auto-create users.
-
#find_for_imap_authentication(conditions) ⇒ Object
We assume this method already gets a sanitized conditions hash.
Instance Method Details
#build_for_imap_authentication(conditions) ⇒ Object
Override in your models if you want to auto-create users
44 45 |
# File 'lib/devise_imap_authenticatable/model.rb', line 44 def build_for_imap_authentication(conditions) end |
#find_for_imap_authentication(conditions) ⇒ Object
We assume this method already gets a sanitized conditions hash
48 49 50 |
# File 'lib/devise_imap_authenticatable/model.rb', line 48 def find_for_imap_authentication(conditions) find_for_authentication(conditions) end |