Method: ItemBuilder#create_mode

Defined in:
lib/item_builder.rb

#create_modeObject



81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/item_builder.rb', line 81

def create_mode
  item_listings.map do |listing|
    param =
      if listing.channel_id == 12
        qty_simple_params(listing)
          .merge(shipping_providers: shipping_providers)
      else
        qty_simple_params(listing)
      end
    modes[mode].new(param).perform
  end
end