class Fastly::Service

def purge_by_key(key)

Purge anything with the specific key from the given service.
def purge_by_key(key)
  require_api_key!
  fetcher.client.post(Fastly::Service.get_path(self.id)+"/purge/#{key}")
end