Sha256: cbbcb71ea13c44846613460f9e7c4c19e218b3f06cd8e1794d6834799646b0b5
Contents?: true
Size: 452 Bytes
Versions: 3
Compression:
Stored size: 452 Bytes
Contents
class HTTPClientAdapter < HTTPBaseAdapter def send_get_request ::HTTPClient.get(parse_uri, header: @headers) end def send_post_request ::HTTPClient.post(parse_uri, body: query_string, header: @headers) end def send_post_form_request ::HTTPClient.post(parse_uri, body: @params, header: @headers) end def send_multipart_post_request send_post_form_request end def self.response_should_be HTTP::Message end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
binnacle-0.5.0 | spec/adapters/httpclient_adapter.rb |
binnacle-0.4.9 | spec/adapters/httpclient_adapter.rb |
binnacle-0.4.8 | spec/adapters/httpclient_adapter.rb |