Class: HammerCLIForeman::ReportTemplate::CreateCommand
- Inherits:
-
CreateCommand
- Object
- CreateCommand
- HammerCLIForeman::ReportTemplate::CreateCommand
- Defined in:
- lib/hammer_cli_foreman/report_template.rb
Instance Method Summary collapse
Instance Method Details
#request_params ⇒ Object
207 208 209 210 211 212 213 214 |
# File 'lib/hammer_cli_foreman/report_template.rb', line 207 def request_params params = super if option_interactive? params['report_template']['template'] = HammerCLI.open_in_editor( '', content_type: 'report_template', suffix: '.erb') end params end |