Sha256: 2a812b9cc06b32d1aa7f73c79760cada85d16e38b7f6730573af5cd84f5d3b07

Contents?: true

Size: 1.45 KB

Versions: 7

Compression:

Stored size: 1.45 KB

Contents

webhooks: 
    create_webhook: >-
        require 'asana'


        client = Asana::Client.new do |c|
            c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
        end


        result = client.webhooks.create_webhook(field: "value", field: "value", options: {pretty: true})
    delete_webhook: >-
        require 'asana'


        client = Asana::Client.new do |c|
            c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
        end


        result = client.webhooks.delete_webhook(webhook_gid: 'webhook_gid', options: {pretty: true})
    get_webhook: >-
        require 'asana'


        client = Asana::Client.new do |c|
            c.authentication :access_token, 'PERSONAL_ACCESS_TOKEN'
        end


        result = client.webhooks.get_webhook(webhook_gid: 'webhook_gid', param: "value", param: "value", options: {pretty: true})
    get_webhooks: >-
        require 'asana'


        client = Asana::Client.new do |c|
            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})

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asana-2.0.3 samples/webhooks_sample.yaml
asana-2.0.2 samples/webhooks_sample.yaml
asana-2.0.1 samples/webhooks_sample.yaml
asana-2.0.0 samples/webhooks_sample.yaml
asana-1.0.0 samples/webhooks_sample.yaml
asana-0.10.13 samples/webhooks_sample.yaml
asana-0.10.12 samples/webhooks_sample.yaml