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