Class: Asana::Resources::TimePeriod
Instance Attribute Summary collapse
Class Method Summary
collapse
get_time_period, get_time_periods, 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
#display_name ⇒ Object
12
13
14
|
# File 'lib/asana/resources/time_period.rb', line 12
def display_name
@display_name
end
|
#end_on ⇒ Object
14
15
16
|
# File 'lib/asana/resources/time_period.rb', line 14
def end_on
@end_on
end
|
#gid ⇒ Object
8
9
10
|
# File 'lib/asana/resources/time_period.rb', line 8
def gid
@gid
end
|
#parent ⇒ Object
16
17
18
|
# File 'lib/asana/resources/time_period.rb', line 16
def parent
@parent
end
|
#period ⇒ Object
18
19
20
|
# File 'lib/asana/resources/time_period.rb', line 18
def period
@period
end
|
#resource_type ⇒ Object
10
11
12
|
# File 'lib/asana/resources/time_period.rb', line 10
def resource_type
@resource_type
end
|
#start_on ⇒ Object
20
21
22
|
# File 'lib/asana/resources/time_period.rb', line 20
def start_on
@start_on
end
|
Class Method Details
.plural_name ⇒ Object
Returns the plural name of the resource.
24
25
26
|
# File 'lib/asana/resources/time_period.rb', line 24
def plural_name
'time_periods'
end
|