Module: Aikotoba::EnabledFeatureCheckable

Extended by:
ActiveSupport::Concern
Included in:
Account, ApplicationController
Defined in:
app/models/concerns/aikotoba/enabled_feature_checkable.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#confirmable?Boolean

Returns:

  • (Boolean)


33
34
35
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 33

def confirmable?
  self.class.confirmable?
end

#lockable?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 29

def lockable?
  self.class.lockable?
end

#recoverable?Boolean

Returns:

  • (Boolean)


37
38
39
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 37

def recoverable?
  self.class.recoverable?
end

#registerable?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'app/models/concerns/aikotoba/enabled_feature_checkable.rb', line 25

def registerable?
  self.class.registerable?
end