Sha256: 5a0383cc97150235670b69ebb052f3ee9664c84475b7214f64c14c460febe390
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
require 'excon' class ExconAdapter < HTTPBaseAdapter def send_get_request Excon.get(parse_uri.to_s, headers: @headers ) end def send_head_request Excon.head(parse_uri.to_s, headers: @headers) end def send_post_request Excon.post(parse_uri.to_s, body: @data, headers: @headers) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
httplog-1.0.2 | spec/adapters/excon_adapter.rb |
httplog-1.0.1 | spec/adapters/excon_adapter.rb |