Class: LWS::CorporateWebsite::SocialPost
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::CorporateWebsite::SocialPost
- Defined in:
- lib/lws/apps/corporate_website.rb
Overview
The social post class
Instance Attribute Summary collapse
-
#article ⇒ Article
The article associated with the social post.
-
#article_id ⇒ Integer
The ID of the article associated with the social post.
-
#description ⇒ String
The description of the social post.
-
#lat ⇒ Float?
The latitude of the location of the social post.
-
#link ⇒ String?
The link used in the social post.
-
#long ⇒ Float?
The longitude of the location of the social post.
-
#title ⇒ String
The title of the social post.
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
#article ⇒ Article
Returns the article associated with the social post.
217 |
# File 'lib/lws/apps/corporate_website.rb', line 217 belongs_to :article |
#article_id ⇒ Integer
Returns the ID of the article associated with the social post.
221 |
# File 'lib/lws/apps/corporate_website.rb', line 221 attribute :article_id |
#description ⇒ String
Returns the description of the social post.
225 |
# File 'lib/lws/apps/corporate_website.rb', line 225 attribute :description |
#lat ⇒ Float?
Returns the latitude of the location of the social post.
233 |
# File 'lib/lws/apps/corporate_website.rb', line 233 attribute :lat |
#link ⇒ String?
Returns the link used in the social post.
229 |
# File 'lib/lws/apps/corporate_website.rb', line 229 attribute :link |
#long ⇒ Float?
Returns the longitude of the location of the social post.
237 |
# File 'lib/lws/apps/corporate_website.rb', line 237 attribute :long |
#title ⇒ String
Returns the title of the social post.
241 |
# File 'lib/lws/apps/corporate_website.rb', line 241 attribute :title |