Class: SidekiqAdminEnquerer::WebApp::JobWrapper Private
- Inherits:
-
Object
- Object
- SidekiqAdminEnquerer::WebApp::JobWrapper
- Defined in:
- lib/sidekiq_admin_enquerer/web_app/job_wrapper.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #methods ⇒ Array<SidekiqAdminEnquerer::WebApp::JobMethodWrapper> readonly private
Instance Method Summary collapse
- #initialize(job) ⇒ void constructor private
- #name ⇒ String private
Constructor Details
#initialize(job) ⇒ void
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.
17 18 19 20 |
# File 'lib/sidekiq_admin_enquerer/web_app/job_wrapper.rb', line 17 def initialize(job) @job = job @methods = SidekiqAdminEnquerer::WebApp::JobMethodWrapper.extract_methods_from(job) end |
Instance Attribute Details
#methods ⇒ Array<SidekiqAdminEnquerer::WebApp::JobMethodWrapper> (readonly)
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.
10 11 12 |
# File 'lib/sidekiq_admin_enquerer/web_app/job_wrapper.rb', line 10 def methods @methods end |
Instance Method Details
#name ⇒ 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.
26 27 28 |
# File 'lib/sidekiq_admin_enquerer/web_app/job_wrapper.rb', line 26 def name job.name end |