Testing use of native http

This commit is contained in:
Dan Milne
2022-08-10 11:42:28 +10:00
parent b66dda8d79
commit e04d258b07

View File

@@ -24,6 +24,14 @@ module Paapi
@condition = condition
self.market = market
@partner_tag = partner_tag if !partner_tag.nil?
#if defined?(HTTPX)
# @http = HTTPX.plugin(:persistent)
#elsif defined?(HTTP)
@http = HTTP::Client.new
#else
# @http = nil
#end
end
def market=(a_market)