Class: WavefrontWavefrontOutput::Base

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

Direct Known Subclasses

Query

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resp, options) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 5

def initialize(resp, options)
  @resp = resp
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 3

def options
  @options
end

#respObject (readonly)

Returns the value of attribute resp.



3
4
5
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 3

def resp
  @resp
end

Instance Method Details

#runObject



10
11
12
# File 'lib/wavefront-cli/output/wavefront/base.rb', line 10

def run
  puts _run
end