class AnsibleTowerClient::Job

Public Instance Methods

extra_vars_hash() click to toggle source
# File lib/ansible_tower_client/base_models/job.rb, line 3
def extra_vars_hash
  extra_vars.empty? ? {} : hashify(:extra_vars)
end
job_events(options = nil) click to toggle source
# File lib/ansible_tower_client/base_models/job.rb, line 7
def job_events(options = nil)
  Collection.new(api, api.job_event_class).find_all_by_url(related["job_events"], options)
end
stdout(format = 'txt') click to toggle source
# File lib/ansible_tower_client/base_models/job.rb, line 11
def stdout(format = 'txt')
  out_url = related['stdout']
  return unless out_url
  api.get("#{out_url}?format=#{format}").body
end