Class: HammerCLIForeman::ReportTemplate::UpdateCommand
- Inherits:
-
UpdateCommand
- Object
- UpdateCommand
- HammerCLIForeman::ReportTemplate::UpdateCommand
- Defined in:
- lib/hammer_cli_foreman/report_template.rb
Instance Method Summary collapse
Instance Method Details
#request_params ⇒ Object
228 229 230 231 232 233 234 235 236 |
# File 'lib/hammer_cli_foreman/report_template.rb', line 228 def request_params params = super if option_interactive? template = load_template params['report_template']['template'] = HammerCLI.open_in_editor( template['template'], content_type: 'report_template', suffix: '.erb') end params end |