Class: SourceMonitor::Dashboard::RecentActivity::Event
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Dashboard::RecentActivity::Event
- Defined in:
- lib/source_monitor/dashboard/recent_activity.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#item_title ⇒ Object
Returns the value of attribute item_title.
-
#item_url ⇒ Object
Returns the value of attribute item_url.
-
#items_created ⇒ Object
Returns the value of attribute items_created.
-
#items_updated ⇒ Object
Returns the value of attribute items_updated.
-
#occurred_at ⇒ Object
Returns the value of attribute occurred_at.
-
#scraper_adapter ⇒ Object
Returns the value of attribute scraper_adapter.
-
#source_feed_url ⇒ Object
Returns the value of attribute source_feed_url.
-
#source_id ⇒ Object
Returns the value of attribute source_id.
-
#source_name ⇒ Object
Returns the value of attribute source_name.
-
#success ⇒ Object
Returns the value of attribute success.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def id @id end |
#item_title ⇒ Object
Returns the value of attribute item_title
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def item_title @item_title end |
#item_url ⇒ Object
Returns the value of attribute item_url
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def item_url @item_url end |
#items_created ⇒ Object
Returns the value of attribute items_created
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def items_created @items_created end |
#items_updated ⇒ Object
Returns the value of attribute items_updated
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def items_updated @items_updated end |
#occurred_at ⇒ Object
Returns the value of attribute occurred_at
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def occurred_at @occurred_at end |
#scraper_adapter ⇒ Object
Returns the value of attribute scraper_adapter
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def scraper_adapter @scraper_adapter end |
#source_feed_url ⇒ Object
Returns the value of attribute source_feed_url
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def source_feed_url @source_feed_url end |
#source_id ⇒ Object
Returns the value of attribute source_id
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def source_id @source_id end |
#source_name ⇒ Object
Returns the value of attribute source_name
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def source_name @source_name end |
#success ⇒ Object
Returns the value of attribute success
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def success @success end |
#type ⇒ Object
Returns the value of attribute type
6 7 8 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 6 def type @type end |
Instance Method Details
#success? ⇒ Boolean
25 26 27 |
# File 'lib/source_monitor/dashboard/recent_activity.rb', line 25 def success? !!self[:success] end |