Module: Pageflow::SerializedConfiguration

Extended by:
ActiveSupport::Concern
Included in:
Chapter, EntryTemplate, FileUsage, Page, Revision, Storyline, Widget
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

#configurationObject



13
14
15
# File 'app/models/concerns/pageflow/serialized_configuration.rb', line 13

def configuration
  self[:configuration] || {}
end