Method: OneApm::Support::HTTPClients::TyphoeusHTTPResponse#to_hash

Defined in:
lib/one_apm/support/http_clients/typhoeus_wrappers.rb

#to_hashObject



21
22
23
24
25
26
27
# File 'lib/one_apm/support/http_clients/typhoeus_wrappers.rb', line 21

def to_hash
  hash = {}
  headers.each do |(k,v)|
    hash[k] = v
  end
  hash
end