Class: LWS::Resource::Collection::Feed::Post
- Inherits:
-
Post
- Object
- Spyke::Base
- Generic::Model
- Item
- Post
- LWS::Resource::Collection::Feed::Post
- Defined in:
- lib/lws/apps/resource.rb
Overview
The collection feed post class
Instance Attribute Summary collapse
-
#feed ⇒ Collection::Feed
The collection feed that the collection feed post is a part of.
-
#feed_id ⇒ Integer
The ID of the collection feed that the collection feed is a post is part of.
Attributes inherited from Post
#author, #avatar, #category, #comments, #description, #guid, #handle, #link, #order_priority, #source_url, #summary, #title
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
#feed ⇒ Collection::Feed
Returns the collection feed that the collection feed post is a part of.
258 259 260 |
# File 'lib/lws/apps/resource.rb', line 258 belongs_to :feed, class_name: "LWS::Resource::Collection::Feed", uri: "collections/:collection_id/feeds(/:id)" |
#feed_id ⇒ Integer
Returns the ID of the collection feed that the collection feed is a post is part of.
265 |
# File 'lib/lws/apps/resource.rb', line 265 attribute :feed_id |