Sha256: 95b412c2cea91f4eef973eda7df6103d2122f4639df3f9397b5e5a4627f9c5e4
Contents?: true
Size: 347 Bytes
Versions: 2
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true require 'excon' class ExconAdapter < HTTPBaseAdapter def send_get_request Excon.get(parse_uri(true).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.3.1 | spec/adapters/excon_adapter.rb |
httplog-1.3.0 | spec/adapters/excon_adapter.rb |