lib/fastly/service.rb in fastly-1.2.0 vs lib/fastly/service.rb in fastly-1.2.1

- old
+ new

@@ -58,14 +58,18 @@ fetcher.get(Invoice, opts) end # Purge all assets from this service. + # + # See README.md for examples of purging def purge_all fetcher.client.post("#{Service.get_path(id)}/purge_all") end # Purge anything with the specific key from the given service. + # + # See README.md for examples of purging def purge_by_key(key) require_api_key! fetcher.client.post("#{Service.get_path(id)}/purge/#{key}") end