Class: Asana::Resources::GoalRelationship

Inherits:
GoalRelationshipsBase show all
Defined in:
lib/asana/resources/goal_relationship.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from GoalRelationshipsBase

add_supporting_relationship, get_goal_relationship, get_goal_relationships, inherited, remove_supporting_relationship, update_goal_relationship

Methods inherited from Resource

#initialize, #method_missing, #refresh, #respond_to_missing?, #to_h, #to_s

Methods included from ResponseHelper

#parse

Constructor Details

This class inherits a constructor from Asana::Resources::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Asana::Resources::Resource

Instance Attribute Details

#contribution_weightObject (readonly)



12
13
14
# File 'lib/asana/resources/goal_relationship.rb', line 12

def contribution_weight
  @contribution_weight
end

#gidObject (readonly)



8
9
10
# File 'lib/asana/resources/goal_relationship.rb', line 8

def gid
  @gid
end

#ownerObject (readonly)



18
19
20
# File 'lib/asana/resources/goal_relationship.rb', line 18

def owner
  @owner
end

#resource_subtypeObject (readonly)



14
15
16
# File 'lib/asana/resources/goal_relationship.rb', line 14

def resource_subtype
  @resource_subtype
end

#resource_typeObject (readonly)



10
11
12
# File 'lib/asana/resources/goal_relationship.rb', line 10

def resource_type
  @resource_type
end

#supported_goalObject (readonly)



16
17
18
# File 'lib/asana/resources/goal_relationship.rb', line 16

def supported_goal
  @supported_goal
end

#supporting_resourceObject (readonly)



20
21
22
# File 'lib/asana/resources/goal_relationship.rb', line 20

def supporting_resource
  @supporting_resource
end

Class Method Details

.plural_nameObject

Returns the plural name of the resource.



26
27
28
# File 'lib/asana/resources/goal_relationship.rb', line 26

def plural_name
  'goal_relationships'
end