lib/akamai_ccu/client.rb in akamai_ccu-1.3.5 vs lib/akamai_ccu/client.rb in akamai_ccu-1.3.6

- old
+ new

@@ -8,10 +8,10 @@ def initialize(host:, net_klass: Net::HTTP) @host = host @net_klass = net_klass end - def call(path: "/", method: POST, initheader: JSON_HEADER) + def call(path:, method: POST, initheader: JSON_HEADER) request(path, method, initheader) yield @request if block_given? Thread.new { http.request(@request) }.value end