HammerCLIForeman::Command
# File lib/hammer_cli_foreman_remote_execution/job_template.rb, line 78 def self.data_extensions(template) template['type'] = template['snippet'] ? 'snippet' : 'job_template' if template['template_inputs'] template_inputs = template['template_inputs'].map { |option| " - #{option['name']}" }.join("\n") template['template_inputs'] = "\n#{template_inputs}\n" end template end
Generated with the Darkfish Rdoc Generator 2.