Module: Aikotoba::EnabledFeatureCheckable::ClassMethods

Defined in:
app/models/concerns/aikotoba/enabled_feature_checkable.rb

Instance Method Summary collapse

Instance Method Details

#confirmable?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 16

def confirmable?
  Aikotoba.confirmable
end

#lockable?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 12

def lockable?
  Aikotoba.lockable
end

#recoverable?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 20

def recoverable?
  Aikotoba.recoverable
end

#registerable?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 8

def registerable?
  Aikotoba.registerable
end