Class: WavefrontOutput::Json

Inherits:
Base
  • Object
show all
Defined in:
lib/wavefront-cli/output/json.rb

Overview

Display as JSON

Instance Attribute Summary

Attributes inherited from Base

#cmd, #options, #resp

Instance Method Summary collapse

Methods inherited from Base

#command_class, #command_class_name, #command_file, #initialize, #my_format, #run

Constructor Details

This class inherits a constructor from WavefrontOutput::Base

Instance Method Details

#_runObject



8
9
10
# File 'lib/wavefront-cli/output/json.rb', line 8

def _run
  resp.to_json
end