Sha256: 9ef267909eeaf445c93aea6d4fea2d89de9e4b715ce33aee306103a57c9a37aa

Contents?: true

Size: 1.54 KB

Versions: 8

Compression:

Stored size: 1.54 KB

Contents

workspaces: 
    add_user_for_workspace: >-
        require 'asana'


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


        result = client.workspaces.add_user_for_workspace(workspace_gid: 'workspace_gid', field: "value", field: "value", options: {pretty: true})
    get_workspace: >-
        require 'asana'


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


        result = client.workspaces.get_workspace(workspace_gid: 'workspace_gid', param: "value", param: "value", options: {pretty: true})
    get_workspaces: >-
        require 'asana'


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


        result = client.workspaces.get_workspaces(param: "value", param: "value", options: {pretty: true})
    remove_user_for_workspace: >-
        require 'asana'


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


        result = client.workspaces.remove_user_for_workspace(workspace_gid: 'workspace_gid', field: "value", field: "value", options: {pretty: true})
    update_workspace: >-
        require 'asana'


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


        result = client.workspaces.update_workspace(workspace_gid: 'workspace_gid', field: "value", field: "value", options: {pretty: true})

Version data entries

8 entries across 8 versions & 1 rubygems

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