lib/3scale/api.rb in 3scale-api-1.5.0 vs lib/3scale/api.rb in 3scale-api-1.6.0
- old
+ new
@@ -4,13 +4,15 @@
module ThreeScale
module API
autoload :Client, '3scale/api/client'
autoload :HttpClient, '3scale/api/http_client'
- def self.new(endpoint:, provider_key:, verify_ssl: true)
+ def self.new(endpoint:, provider_key:, verify_ssl: true, keep_alive: false)
http_client = HttpClient.new(endpoint: endpoint,
provider_key: provider_key,
- verify_ssl: verify_ssl)
+ verify_ssl: verify_ssl,
+ keep_alive: keep_alive,
+ )
Client.new(http_client)
end
end
end