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

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

Overview

The collection feed class

Defined Under Namespace

Classes: Post

Instance Attribute Summary collapse

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_urlString



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

attribute :feed_url

#postsCollection::Post



301
302
303
# File 'lib/lws/apps/resource.rb', line 301

has_many :posts,
class_name: "LWS::Resource::Collection::Feed::Post",
uri: "collections/:collection_id/feeds/:feed_id/posts(/:id)"

#refresh_intervalInteger



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

attribute :refresh_interval