Module: Services::ServiceInvoker
- Defined in:
- app/roles/services/service_invoker.rb
Constant Summary collapse
- ASYNC_SEND_OPTS =
The async configuration options
{ :priority => 100, # Pretty high priority; higher than MDS for sure :time_to_run => 3600 # GIve it an hour }
Instance Method Summary collapse
Instance Method Details
#invoke ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'app/roles/services/service_invoker.rb', line 13 def invoke service_definitions.each do | service_definition | # Each service implementation is handled in a separate # worker service_definition.ayl_send_opts(:invoke, ASYNC_SEND_OPTS) end end |