Class: LWS::CorporateWebsite::Article
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::CorporateWebsite::Article
- Defined in:
- lib/lws/apps/corporate_website.rb
Overview
The article class
Instance Attribute Summary collapse
-
#body ⇒ String?
The body of the article.
-
#layout ⇒ "text_image_social", ...
The layout used for the article.
-
#order ⇒ Integer?
The order (number) of the article withing the page.
-
#page ⇒ Page
The page the article belongs to.
-
#page_id ⇒ Integer
The ID of the page the article belongs to.
-
#picture ⇒ String?
The path to the picture accompanying the article.
-
#picture_caption ⇒ String?
The caption for the picture accompanying the article.
-
#picture_url ⇒ String?
The URL to the picture accompanying the article.
-
#social_avatar ⇒ String?
The path to the social avatar accompanying the article.
-
#social_avatar_url ⇒ String?
The URL to the social avatar accompanying the article.
-
#social_location ⇒ String?
The location of the social user accompanying the article.
-
#social_name ⇒ String?
The name of the social user accompanying the article.
-
#social_text ⇒ String?
The text of the social user accompanying the article.
-
#title ⇒ String?
The title of the article.
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
#body ⇒ String?
44 |
# File 'lib/lws/apps/corporate_website.rb', line 44 attribute :body |
#layout ⇒ "text_image_social", ...
49 |
# File 'lib/lws/apps/corporate_website.rb', line 49 attribute :layout |
#order ⇒ Integer?
53 |
# File 'lib/lws/apps/corporate_website.rb', line 53 attribute :order |
#page ⇒ Page
57 |
# File 'lib/lws/apps/corporate_website.rb', line 57 belongs_to :page |
#page_id ⇒ Integer
61 |
# File 'lib/lws/apps/corporate_website.rb', line 61 attribute :page_id |
#picture ⇒ String?
65 |
# File 'lib/lws/apps/corporate_website.rb', line 65 attribute :picture |
#picture_caption ⇒ String?
69 |
# File 'lib/lws/apps/corporate_website.rb', line 69 attribute :picture_caption |
#picture_url ⇒ String?
73 |
# File 'lib/lws/apps/corporate_website.rb', line 73 attribute :picture_url |
#social_avatar ⇒ String?
77 |
# File 'lib/lws/apps/corporate_website.rb', line 77 attribute :social_avatar |
#social_avatar_url ⇒ String?
81 |
# File 'lib/lws/apps/corporate_website.rb', line 81 attribute :social_avatar_url |
#social_location ⇒ String?
85 |
# File 'lib/lws/apps/corporate_website.rb', line 85 attribute :social_location |
#social_name ⇒ String?
89 |
# File 'lib/lws/apps/corporate_website.rb', line 89 attribute :social_name |
#social_text ⇒ String?
93 |
# File 'lib/lws/apps/corporate_website.rb', line 93 attribute :social_text |
#title ⇒ String?
97 |
# File 'lib/lws/apps/corporate_website.rb', line 97 attribute :title |