Class: SourceMonitor::Fetching::FeedFetcher::EntryProcessingResult
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Fetching::FeedFetcher::EntryProcessingResult
- Defined in:
- lib/source_monitor/fetching/feed_fetcher.rb
Instance Attribute Summary collapse
-
#created ⇒ Object
Returns the value of attribute created.
-
#created_items ⇒ Object
Returns the value of attribute created_items.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#failed ⇒ Object
Returns the value of attribute failed.
-
#items ⇒ Object
Returns the value of attribute items.
-
#unchanged ⇒ Object
Returns the value of attribute unchanged.
-
#updated ⇒ Object
Returns the value of attribute updated.
-
#updated_items ⇒ Object
Returns the value of attribute updated_items.
Class Method Summary collapse
Instance Attribute Details
#created ⇒ Object
Returns the value of attribute created
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def created @created end |
#created_items ⇒ Object
Returns the value of attribute created_items
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def created_items @created_items end |
#errors ⇒ Object
Returns the value of attribute errors
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def errors @errors end |
#failed ⇒ Object
Returns the value of attribute failed
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def failed @failed end |
#items ⇒ Object
Returns the value of attribute items
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def items @items end |
#unchanged ⇒ Object
Returns the value of attribute unchanged
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def unchanged @unchanged end |
#updated ⇒ Object
Returns the value of attribute updated
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def updated @updated end |
#updated_items ⇒ Object
Returns the value of attribute updated_items
19 20 21 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 19 def updated_items @updated_items end |
Class Method Details
.empty ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/source_monitor/fetching/feed_fetcher.rb', line 30 def self.empty new( created: 0, updated: 0, unchanged: 0, failed: 0, items: [], errors: [], created_items: [], updated_items: [] ) end |