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