Module: Excon::HttpLogHelper

Included in:
Connection, Socket
Defined in:
lib/httplog/adapters/excon.rb

Instance Method Summary collapse

Instance Method Details

#httplog_url(datum) ⇒ Object



6
7
8
# File 'lib/httplog/adapters/excon.rb', line 6

def httplog_url(datum)
  @httplog_url ||= ["#{datum[:scheme]}://#{datum[:host]}:#{datum[:port]}#{datum[:path]}", datum[:query]].compact.join('?')
end