# File lib/hammer_cli_foreman/template.rb, line 9 def option_snippet option_type == "snippet" end
# File lib/hammer_cli_foreman/template.rb, line 13 def option_template_kind_id kinds = HammerCLIForeman.collection_to_common_format( HammerCLIForeman.foreman_resource!(:template_kinds).call(:index)) table = kinds.inject({}){ |result, k| result.update(k["name"] => k["id"]) } table[option_type] end
Generated with the Darkfish Rdoc Generator 2.