lib/akamai_ccu/cli.rb in akamai_ccu-1.2.0 vs lib/akamai_ccu/cli.rb in akamai_ccu-1.2.1

- old
+ new

@@ -22,11 +22,11 @@ wrapper = @wrapper_klass.new(secret: secret, endpoint: endpoint, headers: Array(@headers)) @io.puts wrapper.call(@objects) end private def secret - return @secret_klass.by_txt(name: @secret) if File.extname(@secret) == ".txt" - @secret_klass.by_edgerc(name: @secret) + return @secret_klass.by_txt(@secret) if File.extname(@secret) == ".txt" + @secret_klass.by_edgerc(@secret) end private def endpoint @endpoint_klass.new(network, action, mode) end