Module: Ethon::Easy::Http
- Defined in:
- lib/httplog/adapters/ethon.rb
Instance Method Summary collapse
Instance Method Details
#http_request(url, action_name, options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/httplog/adapters/ethon.rb', line 10 def http_request(url, action_name, = {}) @http_log = .merge(method: action_name, url: url) # remember this for compact logging orig_http_request(url, action_name, ) end |
#orig_http_request ⇒ Object
9 |
# File 'lib/httplog/adapters/ethon.rb', line 9 alias orig_http_request http_request |