Class: NewRelic::Agent::HTTPClients::NetHTTPResponse
- Inherits:
-
AbstractResponse
- Object
- AbstractResponse
- NewRelic::Agent::HTTPClients::NetHTTPResponse
- Defined in:
- lib/new_relic/agent/http_clients/net_http_wrappers.rb
Instance Method Summary collapse
Methods inherited from AbstractResponse
#has_status_code?, #initialize, #status_code
Constructor Details
This class inherits a constructor from NewRelic::Agent::HTTPClients::AbstractResponse
Instance Method Details
#[](key) ⇒ Object
12 13 14 |
# File 'lib/new_relic/agent/http_clients/net_http_wrappers.rb', line 12 def [](key) @wrapped_response[key] end |
#to_hash ⇒ Object
16 17 18 |
# File 'lib/new_relic/agent/http_clients/net_http_wrappers.rb', line 16 def to_hash @wrapped_response.to_hash end |