Class: LWS::CorporateWebsite::Article

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/corporate_website.rb

Overview

The article class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#bodyString?



45
# File 'lib/lws/apps/corporate_website.rb', line 45

attribute :body

#layout"text_image_social", ...



50
# File 'lib/lws/apps/corporate_website.rb', line 50

attribute :layout

#orderInteger?



54
# File 'lib/lws/apps/corporate_website.rb', line 54

attribute :order

#pagePage



58
# File 'lib/lws/apps/corporate_website.rb', line 58

belongs_to :page

#page_idInteger



62
# File 'lib/lws/apps/corporate_website.rb', line 62

attribute :page_id

#pictureString?



66
# File 'lib/lws/apps/corporate_website.rb', line 66

attribute :picture

#picture_captionString?



70
# File 'lib/lws/apps/corporate_website.rb', line 70

attribute :picture_caption

#picture_urlString?



74
# File 'lib/lws/apps/corporate_website.rb', line 74

attribute :picture_url

#social_avatarString?



78
# File 'lib/lws/apps/corporate_website.rb', line 78

attribute :social_avatar

#social_avatar_urlString?



82
# File 'lib/lws/apps/corporate_website.rb', line 82

attribute :social_avatar_url

#social_locationString?



86
# File 'lib/lws/apps/corporate_website.rb', line 86

attribute :social_location

#social_nameString?



90
# File 'lib/lws/apps/corporate_website.rb', line 90

attribute :social_name

#social_textString?



94
# File 'lib/lws/apps/corporate_website.rb', line 94

attribute :social_text

#titleString?



98
# File 'lib/lws/apps/corporate_website.rb', line 98

attribute :title