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 ⇒ Fixnum
The ID of the article associated with the social post.
-
#created_at ⇒ String
readonly
The timestamp of when the social post was created.
-
#description ⇒ String
The description of the social post.
-
#id ⇒ Fixnum
readonly
The (unique) ID 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.
-
#updated_at ⇒ String
readonly
The timestamp of when the social post was last updated.
Instance Attribute Details
#article ⇒ Article
Returns the article associated with the social post.
229 |
# File 'lib/lws/apps/corporate_website.rb', line 229 belongs_to :article |
#article_id ⇒ Fixnum
Returns the ID of the article associated with the social post.
233 |
# File 'lib/lws/apps/corporate_website.rb', line 233 attribute :article_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the social post was created.
257 |
# File 'lib/lws/apps/corporate_website.rb', line 257 attribute :created_at |
#description ⇒ String
Returns the description of the social post.
237 |
# File 'lib/lws/apps/corporate_website.rb', line 237 attribute :description |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the social post.
225 |
# File 'lib/lws/apps/corporate_website.rb', line 225 attribute :id |
#lat ⇒ Float?
Returns the latitude of the location of the social post.
245 |
# File 'lib/lws/apps/corporate_website.rb', line 245 attribute :lat |
#link ⇒ String?
Returns the link used in the social post.
241 |
# File 'lib/lws/apps/corporate_website.rb', line 241 attribute :link |
#long ⇒ Float?
Returns the longitude of the location of the social post.
249 |
# File 'lib/lws/apps/corporate_website.rb', line 249 attribute :long |
#title ⇒ String
Returns the title of the social post.
253 |
# File 'lib/lws/apps/corporate_website.rb', line 253 attribute :title |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the social post was last updated.
261 |
# File 'lib/lws/apps/corporate_website.rb', line 261 attribute :updated_at |