Class: DruidClient::CLi::JsonFormat

Inherits:
Object
  • Object
show all
Includes:
OutputFormat
Defined in:
lib/druid_client/cli/json_format.rb

Instance Method Summary collapse

Instance Method Details

#format(data) ⇒ Object



12
13
14
# File 'lib/druid_client/cli/json_format.rb', line 12

def format(data)
  JSON.pretty_generate(data)
end