Class: Pageflow::Account

Inherits:
ApplicationRecord show all
Includes:
FeatureTarget, SerializationBlacklist
Defined in:
app/models/pageflow/account.rb

Constant Summary

Constants included from FeatureTarget

FeatureTarget::STATE_MAPPING

Instance Method Summary collapse

Methods included from SerializationBlacklist

#serializable_hash

Methods included from FeatureTarget

#enabled_feature_names, #feature_state, #feature_states=, #features_configuration, #inherited_feature_state, #own_feature_state

Instance Method Details

#blacklist_for_serializationObject



27
28
29
# File 'app/models/pageflow/account.rb', line 27

def blacklist_for_serialization
  [:features_configuration]
end

#build_default_theming(*args) ⇒ Object



21
22
23
24
25
# File 'app/models/pageflow/account.rb', line 21

def build_default_theming(*args)
  super.tap do |theming|
    theming. = self
  end
end