Class: Feed
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Feed
- Defined in:
- app/models/feed.rb
Instance Method Summary collapse
-
#aggregate? ⇒ Boolean
Is this an aggregate feed.
-
#date ⇒ Object
Used to group feeds by the day they occurred.
Instance Method Details
#aggregate? ⇒ Boolean
Is this an aggregate feed
17 18 19 |
# File 'app/models/feed.rb', line 17 def aggregate? added_count > 0 || updated_count > 0 || removed_count > 0 end |
#date ⇒ Object
Used to group feeds by the day they occurred
12 13 14 |
# File 'app/models/feed.rb', line 12 def date updated_at.to_date.to_formatted_s(:long_ordinal) end |