app/models/concerns/order_state_config.rb
# Triggers the :fulfill event for this Order if all of its Items are ready for use
Triggers the :fulfill event for this Order if all of its Items are ready for use
Triggers the : fulfill event for this Order if all of its Items are ready for use
def fulfill_if_items_ready(metadata)
      if !reproduction_order?
        if available_events.include?(:fulfill) && all_items_ready?
          trigger(:fulfill, metadata)
        end
      end
    end
def fulfill_if_items_ready ( metadata ) if ! reproduction_order? if available_events . include? ( :fulfill ) && all_items_ready? trigger ( :fulfill , metadata ) end end end
Triggers the :fulfill event for this Order if all of its Items are ready for use
Triggers the : fulfill event for this Order if all of its Items are ready for use
metadata
<not_specific>