Class: Wavefront::Response::Raw

Inherits:
Object
  • Object
show all
Defined in:
lib/wavefront/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, options = {}) ⇒ Raw

Returns a new instance of Raw.



27
28
29
30
# File 'lib/wavefront/response.rb', line 27

def initialize(response, options={})
  @response = response
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



25
26
27
# File 'lib/wavefront/response.rb', line 25

def options
  @options
end

#responseObject (readonly)

Returns the value of attribute response.



25
26
27
# File 'lib/wavefront/response.rb', line 25

def response
  @response
end

Instance Method Details

#to_sObject



32
33
34
# File 'lib/wavefront/response.rb', line 32

def to_s
  return @response
end