Class: Mozenda::Response::AgentGetJobs
- Defined in:
- lib/mozenda/response/agent_get_jobs.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #name, #success?, #to_h, #to_xml, #valid?
Constructor Details
This class inherits a constructor from Mozenda::Response::Base
Instance Method Details
#job_list ⇒ Object
4 5 6 7 |
# File 'lib/mozenda/response/agent_get_jobs.rb', line 4 def job_list result = body_hash["JobList"]["Job"] rescue [] Array.wrap(result) end |