class HammerCLIForeman::SmartProxy::ImportPuppetClassesCommand

Public Instance Methods

print_data(record) click to toggle source
request_params() click to toggle source
# 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