samples/webhooks_sample.yaml in asana-0.10.3 vs samples/webhooks_sample.yaml in asana-0.10.12

- old
+ new

@@ -37,5 +37,15 @@ c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN' end result = client.webhooks.get_webhooks(workspace: ''workspace_example'', param: "value", param: "value", options: {pretty: true}) + update_webhook: >- + require 'asana' + + + client = Asana::Client.new do |c| + c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN' + end + + + result = client.webhooks.update_webhook(webhook_gid: 'webhook_gid', field: "value", field: "value", options: {pretty: true})