HammerCLIForeman::CreateCommand
# File lib/hammer_cli_foreman_remote_execution/job_invocation.rb, line 123 def immediate? !(option_start_at || option_cron_line) end
# File lib/hammer_cli_foreman_remote_execution/job_invocation.rb, line 115 def option_async? if immediate? defined?(option_async) ? option_async : false else true end end
# File lib/hammer_cli_foreman_remote_execution/job_invocation.rb, line 98 def request_params params = super cli_inputs = option_inputs || {} file_inputs = option_input_files || {} params['job_invocation']['inputs'] = cli_inputs.merge(file_inputs) params['job_invocation']['targeting_type'] = option_dynamic? ? 'dynamic_query' : 'static_query' params end
Generated with the Darkfish Rdoc Generator 2.