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