Class: ListingIssues::Sync::Result
- Inherits:
-
Data
- Object
- Data
- ListingIssues::Sync::Result
- Defined in:
- app/services/listing_issues/sync.rb
Overview
Per-provider run tally.
Instance Attribute Summary collapse
-
#created ⇒ Object
readonly
Returns the value of attribute created.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#resolved ⇒ Object
readonly
Returns the value of attribute resolved.
-
#updated ⇒ Object
readonly
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize(created: 0, updated: 0, resolved: 0, items: 0) ⇒ Result
constructor
A new instance of Result.
- #to_h ⇒ Object
Constructor Details
#initialize(created: 0, updated: 0, resolved: 0, items: 0) ⇒ Result
Returns a new instance of Result.
17 |
# File 'app/services/listing_issues/sync.rb', line 17 def initialize(created: 0, updated: 0, resolved: 0, items: 0) = super |
Instance Attribute Details
#created ⇒ Object (readonly)
Returns the value of attribute created
16 17 18 |
# File 'app/services/listing_issues/sync.rb', line 16 def created @created end |
#items ⇒ Object (readonly)
Returns the value of attribute items
16 17 18 |
# File 'app/services/listing_issues/sync.rb', line 16 def items @items end |
#resolved ⇒ Object (readonly)
Returns the value of attribute resolved
16 17 18 |
# File 'app/services/listing_issues/sync.rb', line 16 def resolved @resolved end |
#updated ⇒ Object (readonly)
Returns the value of attribute updated
16 17 18 |
# File 'app/services/listing_issues/sync.rb', line 16 def updated @updated end |
Instance Method Details
#to_h ⇒ Object
18 |
# File 'app/services/listing_issues/sync.rb', line 18 def to_h = { created:, updated:, resolved:, items: } |