Class: Garb::ReportResponse
- Inherits:
-
Object
- Object
- Garb::ReportResponse
- Defined in:
- lib/garb/report_response.rb
Constant Summary collapse
- KEYS =
['dxp:metric', 'dxp:dimension']
Instance Method Summary collapse
-
#initialize(response_body) ⇒ ReportResponse
constructor
A new instance of ReportResponse.
- #results ⇒ Object
Constructor Details
#initialize(response_body) ⇒ ReportResponse
Returns a new instance of ReportResponse.
5 6 7 |
# File 'lib/garb/report_response.rb', line 5 def initialize(response_body) @xml = response_body end |
Instance Method Details
#results ⇒ Object
9 10 11 |
# File 'lib/garb/report_response.rb', line 9 def results @results ||= parse end |