Class: Wavefront::Response::Raw
- Inherits:
-
Object
- Object
- Wavefront::Response::Raw
- Defined in:
- lib/wavefront/response.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response, options = {}) ⇒ Raw
constructor
A new instance of Raw.
- #to_s ⇒ Object
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, ={}) @response = response @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
26 27 28 |
# File 'lib/wavefront/response.rb', line 26 def @options end |
#response ⇒ Object (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_s ⇒ Object
33 34 35 |
# File 'lib/wavefront/response.rb', line 33 def to_s return @response end |