Class: Shipping::ItemKitExploder::Result

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::API, ActiveModel::Attributes
Defined in:
app/services/shipping/item_kit_exploder.rb

Overview

Takes an item hash ({ item => quantity, item2 => quantity }) explodes kits, returns a new hash and the list of kits