Class: Item::PrepareNewKitComponent::Result
- Inherits:
-
Data
- Object
- Data
- Item::PrepareNewKitComponent::Result
- Defined in:
- app/services/item/prepare_new_kit_component.rb
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.
5 |
# File 'app/services/item/prepare_new_kit_component.rb', line 5 def initialize(errors: [], notices: [], catalog_items_created: []) = super |
Instance Attribute Details
#catalog_items_created ⇒ Object (readonly)
Returns the value of attribute catalog_items_created
4 5 6 |
# File 'app/services/item/prepare_new_kit_component.rb', line 4 def catalog_items_created @catalog_items_created end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors
4 5 6 |
# File 'app/services/item/prepare_new_kit_component.rb', line 4 def errors @errors end |
#notices ⇒ Object (readonly)
Returns the value of attribute notices
4 5 6 |
# File 'app/services/item/prepare_new_kit_component.rb', line 4 def notices @notices end |