Class: LWS::Resource::Collection::Feed::Post

Inherits:
Post show all
Defined in:
lib/lws/apps/resource.rb

Overview

The collection feed post class

Instance Attribute Summary collapse

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

#feedCollection::Feed



317
318
319
# File 'lib/lws/apps/resource.rb', line 317

belongs_to :feed,
class_name: "LWS::Resource::Collection::Feed",
uri: "collections/:collection_id/feeds(/:id)"

#feed_idInteger



324
# File 'lib/lws/apps/resource.rb', line 324

attribute :feed_id