- def purge(urls, opts) do
- method = Map.get(opts, :http_method, :purge)
- headers = Map.get(opts, :http_headers, [])
- options = Map.get(opts, :http_options, [])
+ def purge(urls, opts \\ []) do
+ method = Keyword.get(opts, :method, :purge)
+ headers = Keyword.get(opts, :headers, [])
+ options = Keyword.get(opts, :options, [])
+
+ Logger.debug("Running cache purge: #{inspect(urls)}")