Migrate to just HTTP

This commit is contained in:
Dan Milne
2022-08-10 11:52:18 +10:00
parent 7aebd186a5
commit d09be5f131

View File

@@ -1,6 +1,5 @@
require 'net/http' require 'net/http'
require 'aws-sigv4' require 'aws-sigv4'
require 'byebug'
module Paapi module Paapi
class Client class Client
@@ -25,15 +24,7 @@ module Paapi
@condition = condition @condition = condition
self.market = market self.market = market
@partner_tag = partner_tag if !partner_tag.nil? @partner_tag = partner_tag if !partner_tag.nil?
@http = HTTP::Client.new
byebug
#if defined?(HTTPX)
# @http = HTTPX.plugin(:persistent)
#elsif defined?(HTTP)
@http = HTTP::Client.new
#else
# @http = nil
#end
end end
def market=(a_market) def market=(a_market)