Module: Devise::Models::Activatable

Included in:
Confirmable, Lockable
Defined in:
lib/devise/models/activatable.rb

Overview

This module implements the default API required in activatable hook.

Instance Method Summary collapse

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/devise/models/activatable.rb', line 7

def active?
  true
end

#inactive_messageObject



11
12
13
# File 'lib/devise/models/activatable.rb', line 11

def inactive_message
  :inactive
end