README.md in fastly-1.1.0 vs README.md in fastly-1.1.1
- old
+ new
@@ -51,10 +51,10 @@
director.add_backend(backend)
director.add_backend(new_backend)
# ... and upload some custom vcl (presuming we have permissions)
new_version.upload_vcl(vcl_name, File.read(vcl_file))
# ... and set it as the service's main vcl
-fastly.client.put("/service/#{service.id}/version/#{new_version.number}/vcl/#{vcl_name}/main")
+new_version.vcl(vcl_name).set_main!
new_version.activate!
```
## Contributing