Module: Workarea::Admin::FulfillmentHelper

Defined in:
app/helpers/workarea/admin/fulfillment_helper.rb

Instance Method Summary collapse

Instance Method Details

#fulfillment_policiesObject



3
4
5
6
7
8
# File 'app/helpers/workarea/admin/fulfillment_helper.rb', line 3

def fulfillment_policies
  @fullfillment_policies ||=
    Workarea.config.fulfillment_policies.map do |class_name|
      [class_name.demodulize.titleize, class_name.demodulize.underscore]
    end
end