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, #name
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
Instance Attribute Details
#author ⇒ String
Returns the author of the post.
174 |
# File 'lib/lws/apps/resource.rb', line 174 attribute :author |
#avatar ⇒ Hash
Returns the URL information of the avatar image of the post.
178 |
# File 'lib/lws/apps/resource.rb', line 178 attribute :avatar |
#category ⇒ String
Returns the category of the post.
182 |
# File 'lib/lws/apps/resource.rb', line 182 attribute :category |
#comments ⇒ String
Returns the comments of the post.
186 |
# File 'lib/lws/apps/resource.rb', line 186 attribute :comments |
#description ⇒ String
Returns the description of the post.
190 |
# File 'lib/lws/apps/resource.rb', line 190 attribute :description |
#guid ⇒ String
Returns the GUID of the post.
198 |
# File 'lib/lws/apps/resource.rb', line 198 attribute :guid |
#handle ⇒ String
Returns the handle of the post.
202 |
# File 'lib/lws/apps/resource.rb', line 202 attribute :handle |
#link ⇒ String
Returns the timestamp of the publication date of the post.
206 |
# File 'lib/lws/apps/resource.rb', line 206 attribute :link |
#order_priority ⇒ Integer
Returns the order priority of the of the post (ascending; 0 is lowers).
215 |
# File 'lib/lws/apps/resource.rb', line 215 attribute :order_priority |
#source_url ⇒ String
Returns the source URL of the post.
223 |
# File 'lib/lws/apps/resource.rb', line 223 attribute :source_url |
#summary ⇒ String
Returns the summary of the post.
227 |
# File 'lib/lws/apps/resource.rb', line 227 attribute :summary |
#title ⇒ String
Returns the title of the post.
231 |
# File 'lib/lws/apps/resource.rb', line 231 attribute :title |