Class: Item::PrepareNewKitComponent::Result
- Inherits:
-
Data
- Object
- Data
- Item::PrepareNewKitComponent::Result
- Defined in:
- app/services/item/prepare_new_kit_component.rb
Overview
Service object: result.
Instance Attribute Summary collapse
-
#catalog_items_created ⇒ Object
readonly
Returns the value of attribute catalog_items_created.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#notices ⇒ Object
readonly
Returns the value of attribute notices.
Instance Method Summary collapse
-
#initialize(errors: [], notices: [], catalog_items_created: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(errors: [], notices: [], catalog_items_created: []) ⇒ Result
Returns a new instance of Result.
7 |
# File 'app/services/item/prepare_new_kit_component.rb', line 7 def initialize(errors: [], notices: [], catalog_items_created: []) = super |
Instance Attribute Details
#catalog_items_created ⇒ Object (readonly)
Returns the value of attribute catalog_items_created
6 7 8 |
# File 'app/services/item/prepare_new_kit_component.rb', line 6 def catalog_items_created @catalog_items_created end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors
6 7 8 |
# File 'app/services/item/prepare_new_kit_component.rb', line 6 def errors @errors end |
#notices ⇒ Object (readonly)
Returns the value of attribute notices
6 7 8 |
# File 'app/services/item/prepare_new_kit_component.rb', line 6 def notices @notices end |