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.



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

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

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



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

def options
  @options
end

#responseObject (readonly)

Returns the value of attribute response.



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

def response
  @response
end

Instance Method Details

#to_sObject



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

def to_s
  return @response
end