Sha256: e181876e28606f9419cc9b6c2d2bc8294c2f6bbd1f324dd1d4f4f4ad4abf9905
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
module AnsibleTowerClient class Job < BaseModel def extra_vars_hash extra_vars.empty? ? {} : hashify(:extra_vars) end def job_plays Collection.new(api, api.job_play_class).find_all_by_url(related["job_plays"]) end def stdout out_url = related['stdout'] return unless out_url api.get("#{out_url}?format=txt").body end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ansible_tower_client-0.9.0 | lib/ansible_tower_client/base_models/job.rb |