Class: HammerCLIForeman::ReportTemplate::ExportCommand
Instance Method Summary
collapse
command_name, #execute, #request_options
Instance Method Details
#default_filename ⇒ Object
156
157
158
|
# File 'lib/hammer_cli_foreman/report_template.rb', line 156
def default_filename
"Report Template-#{Time.new.strftime("%Y-%m-%d")}.txt"
end
|
#saved_response_message(filepath) ⇒ Object
160
161
162
|
# File 'lib/hammer_cli_foreman/report_template.rb', line 160
def saved_response_message(filepath)
_("The report template has been saved to %{path}.") % { path: filepath }
end
|