Class: AnsibleTowerClient::WorkflowJob
- Defined in:
- lib/ansible_tower_client/base_models/workflow_job.rb
Instance Attribute Summary
Attributes inherited from BaseModel
Instance Method Summary collapse
Methods inherited from BaseModel
base_class, create, create!, #destroy, #destroy!, endpoint, #hashify, #initialize, #override_raw_attributes, #save, #save!, #update_attributes, #update_attributes!
Methods inherited from HashModel
#==, #[], #initialize, #inspect, #to_h, #to_json
Constructor Details
This class inherits a constructor from AnsibleTowerClient::BaseModel
Instance Method Details
#extra_vars_hash ⇒ Object
8 9 10 |
# File 'lib/ansible_tower_client/base_models/workflow_job.rb', line 8 def extra_vars_hash extra_vars.empty? ? {} : hashify(:extra_vars) end |
#workflow_job_nodes ⇒ Object
3 4 5 6 |
# File 'lib/ansible_tower_client/base_models/workflow_job.rb', line 3 def workflow_job_nodes # this is where Ansible API deviates from other part by using `workflow_nodes` Collection.new(api).find_all_by_url(['workflow_nodes']) end |