20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/item_builder/modes.rb', line 20
def initialize(args)
@listing = args.fetch(:listing)
@wh_spaces = args.fetch(:wh_spaces, [])
@variants = args.fetch(:variants, [])
@stock_allocs = args.fetch(:stock_allocs, [])
@bundles = args.fetch(:bundles, [])
@item_bundle_variants = args.fetch(:item_bundle_variants, [])
@existing_alloc_stocks = args.fetch(:existing_alloc_stocks, [])
@variant_listings = args.fetch(:variant_listings, [])
@reserved_stocks = args.fetch(:reserved_stocks, [])
end
|