class HammerCLIForemanWebhooks::WebhookTemplate::ExportCommand
Public Instance Methods
default_filename()
click to toggle source
# File lib/hammer_cli_foreman_webhooks/webhook_template.rb, line 106 def default_filename "Webhook Template-#{Time.new.strftime("%Y-%m-%d")}.txt" end
saved_response_message(filepath)
click to toggle source
# File lib/hammer_cli_foreman_webhooks/webhook_template.rb, line 102 def saved_response_message(filepath) _("The webhook template has been saved to %{path}.") % { path: filepath } end