Class: Inventory::QuotedRemainingItems::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/inventory/quoted_remaining_items.rb

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(item_groups: nil) ⇒ Result

Returns a new instance of Result.



6
# File 'app/services/inventory/quoted_remaining_items.rb', line 6

def initialize(item_groups: nil) = super

Instance Attribute Details

#item_groupsObject (readonly)

Returns the value of attribute item_groups

Returns:

  • (Object)

    the current value of item_groups



5
6
7
# File 'app/services/inventory/quoted_remaining_items.rb', line 5

def item_groups
  @item_groups
end