Class: Asana::Resources::WorkspaceMembership
Instance Attribute Summary collapse
Class Method Summary
collapse
get_workspace_membership, get_workspace_memberships_for_user, get_workspace_memberships_for_workspace, inherited
Methods inherited from Resource
#initialize, #method_missing, #refresh, #respond_to_missing?, #to_h, #to_s
#parse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Asana::Resources::Resource
Instance Attribute Details
#gid ⇒ Object
8
9
10
|
# File 'lib/asana/resources/workspace_membership.rb', line 8
def gid
@gid
end
|
#is_active ⇒ Object
20
21
22
|
# File 'lib/asana/resources/workspace_membership.rb', line 20
def is_active
@is_active
end
|
#is_admin ⇒ Object
18
19
20
|
# File 'lib/asana/resources/workspace_membership.rb', line 18
def is_admin
@is_admin
end
|
#is_guest ⇒ Object
22
23
24
|
# File 'lib/asana/resources/workspace_membership.rb', line 22
def is_guest
@is_guest
end
|
#resource_type ⇒ Object
10
11
12
|
# File 'lib/asana/resources/workspace_membership.rb', line 10
def resource_type
@resource_type
end
|
#user ⇒ Object
12
13
14
|
# File 'lib/asana/resources/workspace_membership.rb', line 12
def user
@user
end
|
#user_task_list ⇒ Object
16
17
18
|
# File 'lib/asana/resources/workspace_membership.rb', line 16
def user_task_list
@user_task_list
end
|
#workspace ⇒ Object
14
15
16
|
# File 'lib/asana/resources/workspace_membership.rb', line 14
def workspace
@workspace
end
|
Class Method Details
.plural_name ⇒ Object
Returns the plural name of the resource.
26
27
28
|
# File 'lib/asana/resources/workspace_membership.rb', line 26
def plural_name
'workspace_memberships'
end
|