Sha256: 31f82ff16a177881f22f6c356d7943daafb0e9773e5ba4ef8aa98341a518005e

Contents?: true

Size: 1.21 KB

Versions: 7

Compression:

Stored size: 1.21 KB

Contents

statusupdates: 
    create_status_for_object: >-
        require 'asana'


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


        result = client.status_updates.create_status_for_object(field: "value", field: "value", options: {pretty: true})
    delete_status: >-
        require 'asana'


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


        result = client.status_updates.delete_status(status_gid: 'status_gid', options: {pretty: true})
    get_status: >-
        require 'asana'


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


        result = client.status_updates.get_status(status_gid: 'status_gid', param: "value", param: "value", options: {pretty: true})
    get_statuses_for_object: >-
        require 'asana'


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


        result = client.status_updates.get_statuses_for_object(parent: ''parent_example'', param: "value", param: "value", options: {pretty: true})

Version data entries

7 entries across 7 versions & 1 rubygems

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