Class: Catalog::UpdateCatalog::Result
- Inherits:
-
Data
- Object
- Data
- Catalog::UpdateCatalog::Result
- Defined in:
- app/services/catalog/update_catalog.rb
Instance Attribute Summary collapse
-
#catalog ⇒ Object
readonly
Returns the value of attribute catalog.
-
#catalog_updated ⇒ Object
readonly
Returns the value of attribute catalog_updated.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
- #catalog_updated? ⇒ Boolean
-
#initialize(catalog: nil, catalog_updated: nil, messages: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(catalog: nil, catalog_updated: nil, messages: []) ⇒ Result
Returns a new instance of Result.
4 |
# File 'app/services/catalog/update_catalog.rb', line 4 def initialize(catalog: nil, catalog_updated: nil, messages: []) = super |
Instance Attribute Details
#catalog ⇒ Object (readonly)
Returns the value of attribute catalog
3 4 5 |
# File 'app/services/catalog/update_catalog.rb', line 3 def catalog @catalog end |
#catalog_updated ⇒ Object (readonly)
Returns the value of attribute catalog_updated
3 4 5 |
# File 'app/services/catalog/update_catalog.rb', line 3 def catalog_updated @catalog_updated end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
3 4 5 |
# File 'app/services/catalog/update_catalog.rb', line 3 def @messages end |
Instance Method Details
#catalog_updated? ⇒ Boolean
5 |
# File 'app/services/catalog/update_catalog.rb', line 5 def catalog_updated? = catalog_updated |