Module: SidekiqAdminEnquerer::WebApp::WebHelpers Private
- Defined in:
- lib/sidekiq_admin_enquerer/web_app/web_helpers.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #side_enq__enqueue_job_path ⇒ String private
- #side_enq__enqueue_path(job) ⇒ String private
- #side_enq__method_params(job_method) ⇒ String private
- #side_enq__param_requirement(job_param) ⇒ String private
Instance Method Details
#side_enq__enqueue_job_path ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 |
# File 'lib/sidekiq_admin_enquerer/web_app/web_helpers.rb', line 19 def side_enq__enqueue_job_path "#{root_path}enquerer" end |
#side_enq__enqueue_path(job) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/sidekiq_admin_enquerer/web_app/web_helpers.rb', line 11 def side_enq__enqueue_path(job) "#{root_path}enquerer/#{job.name}" end |
#side_enq__method_params(job_method) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 29 30 |
# File 'lib/sidekiq_admin_enquerer/web_app/web_helpers.rb', line 28 def side_enq__method_params(job_method) job_method.params.map(&:name).join(', ') end |
#side_enq__param_requirement(job_param) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 |
# File 'lib/sidekiq_admin_enquerer/web_app/web_helpers.rb', line 37 def side_enq__param_requirement(job_param) job_param.required? ? 'required' : 'optional' end |