Method: NewRelic::Agent::HTTPClients::ExconHTTPRequest#initialize

Defined in:
lib/new_relic/agent/http_clients/excon_wrappers.rb

#initialize(datum) ⇒ ExconHTTPRequest

Returns a new instance of ExconHTTPRequest.



51
52
53
54
55
56
57
58
# File 'lib/new_relic/agent/http_clients/excon_wrappers.rb', line 51

def initialize(datum)
  @datum = datum

  @method = @datum[:method].to_s.upcase
  @scheme = @datum[:scheme]
  @port = @datum[:port]
  @path = @datum[:path]
end