Class: Retailer::UrlBackfill::Outcome
- Inherits:
-
Data
- Object
- Data
- Retailer::UrlBackfill::Outcome
- Defined in:
- app/services/retailer/url_backfill.rb
Overview
Per-item outcome, kept so #report can explain the misses rather than just
counting them — a miss is a real listing problem (the retailer does not
carry the item) and needs to be actionable, not a silent zero.
Instance Attribute Summary collapse
-
#catalog_item_id ⇒ Object
readonly
Returns the value of attribute catalog_item_id.
-
#catalog_name ⇒ Object
readonly
Returns the value of attribute catalog_name.
-
#sku ⇒ Object
readonly
Returns the value of attribute sku.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#catalog_item_id ⇒ Object (readonly)
Returns the value of attribute catalog_item_id
31 32 33 |
# File 'app/services/retailer/url_backfill.rb', line 31 def catalog_item_id @catalog_item_id end |
#catalog_name ⇒ Object (readonly)
Returns the value of attribute catalog_name
31 32 33 |
# File 'app/services/retailer/url_backfill.rb', line 31 def catalog_name @catalog_name end |
#sku ⇒ Object (readonly)
Returns the value of attribute sku
31 32 33 |
# File 'app/services/retailer/url_backfill.rb', line 31 def sku @sku end |
#url ⇒ Object (readonly)
Returns the value of attribute url
31 32 33 |
# File 'app/services/retailer/url_backfill.rb', line 31 def url @url end |
Instance Method Details
#found? ⇒ Boolean
32 |
# File 'app/services/retailer/url_backfill.rb', line 32 def found? = url.present? |