Sha256: e3955801adf4303d9a32a1d67a3e000dae69451bf2178f8f42e933372110b3a1
Contents?: true
Size: 574 Bytes
Versions: 66
Compression:
Stored size: 574 Bytes
Contents
module Actions module Foreman module Architecture class Destroy < Actions::EntryAction def plan(architecture) action_subject(architecture) end def humanized_name _("Delete architecture") end def humanized_input input[:architecture] && input[:architecture][:name] end def cli_example return unless input[:architecture] <<-EXAMPLE hammer architecture delete --id '#{task_input[:architecture][:id]}' EXAMPLE end end end end end
Version data entries
66 entries across 66 versions & 1 rubygems