app/support/orders/item_adder.rb
# timed services default to 1 minute (arbitrary)
timed services default to 1 minute (arbitrary)
timed services default to 1 minute ( arbitrary )
def add_timed_services(product, quantity, duration, attributes)
    Array.new(quantity) do
      create_order_detail({ product: product, quantity: duration || DEFAULT_TIMED_SERVICES_DURATION }.merge(attributes))
    end
  end
def add_timed_services ( product , quantity , duration , attributes ) Array . new ( quantity ) do create_order_detail ( { product : product , quantity : duration || DEFAULT_TIMED_SERVICES_DURATION } . merge ( attributes ) ) end end
timed services default to 1 minute (arbitrary)
timed services default to 1 minute ( arbitrary )
product
<not_specific>
quantity
<not_specific>
duration
<not_specific>
attributes
<not_specific>