Sha256: 961761cbe2e2bbec144fad3319552109c834f46a2195dd2aac2ececb479e8f4f
Contents?: true
Size: 341 Bytes
Versions: 6
Compression:
Stored size: 341 Bytes
Contents
# frozen_string_literal: true 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
6 entries across 6 versions & 1 rubygems