Class: FansWatch::Feed
- Inherits:
-
Object
- Object
- FansWatch::Feed
- Defined in:
- lib/fanswatch/feed.rb
Overview
Page feeds, with data and paging information
Instance Attribute Summary collapse
-
#postings ⇒ Object
readonly
Returns the value of attribute postings.
Instance Method Summary collapse
- #count ⇒ Object
-
#initialize(feed_data:) ⇒ Feed
constructor
A new instance of Feed.
Constructor Details
Instance Attribute Details
#postings ⇒ Object (readonly)
Returns the value of attribute postings.
8 9 10 |
# File 'lib/fanswatch/feed.rb', line 8 def postings @postings end |
Instance Method Details
#count ⇒ Object
18 19 20 |
# File 'lib/fanswatch/feed.rb', line 18 def count @postings.count end |