Class: LWS::Resource::Collection::Post
- Inherits:
-
Item
- Object
- Spyke::Base
- Generic::Model
- Item
- LWS::Resource::Collection::Post
- Defined in:
- lib/lws/apps/resource.rb
Overview
The collection post class
Direct Known Subclasses
Instance Attribute Summary collapse
-
#author ⇒ String
The author of the post.
-
#avatar ⇒ Hash
The URL information of the avatar image of the post.
-
#category ⇒ String
The category of the post.
-
#comments ⇒ String
The comments of the post.
-
#description ⇒ String
The description of the post.
-
#guid ⇒ String
The GUID of the post.
-
#handle ⇒ String
The handle of the post.
-
#link ⇒ String
The timestamp of the publication date of the post.
-
#order_priority ⇒ Integer
The order priority of the of the post (ascending; 0 is lowers).
-
#source_url ⇒ String
The source URL of the post.
-
#summary ⇒ String
The summary of the post.
-
#title ⇒ String
The title of the post.
Attributes inherited from Item
#collection, #collection_id, #metadata, #name, #position
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
#author ⇒ String
Returns the author of the post.
167 |
# File 'lib/lws/apps/resource.rb', line 167 attribute :author |
#avatar ⇒ Hash
Returns the URL information of the avatar image of the post.
171 |
# File 'lib/lws/apps/resource.rb', line 171 attribute :avatar |
#category ⇒ String
Returns the category of the post.
175 |
# File 'lib/lws/apps/resource.rb', line 175 attribute :category |
#comments ⇒ String
Returns the comments of the post.
179 |
# File 'lib/lws/apps/resource.rb', line 179 attribute :comments |
#description ⇒ String
Returns the description of the post.
183 |
# File 'lib/lws/apps/resource.rb', line 183 attribute :description |
#guid ⇒ String
Returns the GUID of the post.
191 |
# File 'lib/lws/apps/resource.rb', line 191 attribute :guid |
#handle ⇒ String
Returns the handle of the post.
195 |
# File 'lib/lws/apps/resource.rb', line 195 attribute :handle |
#link ⇒ String
Returns the timestamp of the publication date of the post.
199 |
# File 'lib/lws/apps/resource.rb', line 199 attribute :link |
#order_priority ⇒ Integer
Returns the order priority of the of the post (ascending; 0 is lowers).
208 |
# File 'lib/lws/apps/resource.rb', line 208 attribute :order_priority |
#source_url ⇒ String
Returns the source URL of the post.
216 |
# File 'lib/lws/apps/resource.rb', line 216 attribute :source_url |
#summary ⇒ String
Returns the summary of the post.
220 |
# File 'lib/lws/apps/resource.rb', line 220 attribute :summary |
#title ⇒ String
Returns the title of the post.
224 |
# File 'lib/lws/apps/resource.rb', line 224 attribute :title |