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
#dig, #reload, #rollback, #save
Instance Attribute Details
#author ⇒ String
Returns the author of the post.
226 |
# File 'lib/lws/apps/resource.rb', line 226 attribute :author |
#avatar ⇒ Hash
Returns the URL information of the avatar image of the post.
230 |
# File 'lib/lws/apps/resource.rb', line 230 attribute :avatar |
#category ⇒ String
Returns the category of the post.
234 |
# File 'lib/lws/apps/resource.rb', line 234 attribute :category |
#comments ⇒ String
Returns the comments of the post.
238 |
# File 'lib/lws/apps/resource.rb', line 238 attribute :comments |
#description ⇒ String
Returns the description of the post.
242 |
# File 'lib/lws/apps/resource.rb', line 242 attribute :description |
#guid ⇒ String
Returns the GUID of the post.
250 |
# File 'lib/lws/apps/resource.rb', line 250 attribute :guid |
#handle ⇒ String
Returns the handle of the post.
254 |
# File 'lib/lws/apps/resource.rb', line 254 attribute :handle |
#link ⇒ String
Returns the timestamp of the publication date of the post.
258 |
# File 'lib/lws/apps/resource.rb', line 258 attribute :link |
#order_priority ⇒ Integer
Returns the order priority of the of the post (ascending; 0 is lowers).
267 |
# File 'lib/lws/apps/resource.rb', line 267 attribute :order_priority |
#source_url ⇒ String
Returns the source URL of the post.
275 |
# File 'lib/lws/apps/resource.rb', line 275 attribute :source_url |
#summary ⇒ String
Returns the summary of the post.
279 |
# File 'lib/lws/apps/resource.rb', line 279 attribute :summary |
#title ⇒ String
Returns the title of the post.
283 |
# File 'lib/lws/apps/resource.rb', line 283 attribute :title |