Sha256: 357a996bb01929a5a694a2d39956ed3ceae2bcfca679b3bafeec415fcceeb6a6

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

attachments: 
    create_attachment_for_task: >-
        require 'asana'


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


        result = client.attachments.create_attachment_for_task(field: "value", field: "value", options: {pretty: true})
    delete_attachment: >-
        require 'asana'


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


        result = client.attachments.delete_attachment(attachment_gid: 'attachment_gid', options: {pretty: true})
    get_attachment: >-
        require 'asana'


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


        result = client.attachments.get_attachment(attachment_gid: 'attachment_gid', param: "value", param: "value", options: {pretty: true})
    get_attachments_for_object: >-
        require 'asana'


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


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asana-1.0.0 samples/attachments_sample.yaml