class Fastly

def purge(url, soft=false)

Purge the specified path from your cache.
def purge(url, soft=false)
  client.purge(url, soft ? { headers: { 'Fastly-Soft-Purge' => "1"} } : {})
end