Module: Pageflow::SerializedConfiguration
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/pageflow/serialized_configuration.rb
Overview
Add a configuration
attribute. This is a hash serialized as JSON. It contains everything related to the object, which includes its text content such as title and body.
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
13 14 15 |
# File 'app/models/concerns/pageflow/serialized_configuration.rb', line 13 def configuration self[:configuration] || {} end |