class HammerCLIForeman::SmartProxy::ImportPuppetClassesCommand
Public Instance Methods
print_data(record)
click to toggle source
# File lib/hammer_cli_foreman/smart_proxy.rb, line 107 def print_data(record) print_record(output_definition, record) end
request_params()
click to toggle source
Calls superclass method
HammerCLIForeman::Command#request_params
# File lib/hammer_cli_foreman/smart_proxy.rb, line 95 def request_params opts = super opts['dryrun'] = option_dryrun? || false opts end
transform_format(data)
click to toggle source
# File lib/hammer_cli_foreman/smart_proxy.rb, line 101 def transform_format(data) # Overriding the default behavior that tries to remove nesting # when there's only {"message": "..."} data end