Class: Mozenda::Response::AgentRun

Inherits:
Base
  • Object
show all
Defined in:
lib/mozenda/response/agent_run.rb

Instance Attribute Summary

Attributes inherited from Base

#response

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

#agent_idObject



4
5
6
# File 'lib/mozenda/response/agent_run.rb', line 4

def agent_id
  body_hash["AgentID"]
end

#job_idObject



8
9
10
# File 'lib/mozenda/response/agent_run.rb', line 8

def job_id
  body_hash["JobID"]
end