lib/tracker_api/resources/project.rb in tracker_api-0.2.0 vs lib/tracker_api/resources/project.rb in tracker_api-0.2.1
- old
+ new
@@ -38,11 +38,11 @@
attribute :updated_at, DateTime
attribute :velocity_averaged_over, Integer
attribute :version, Integer
attribute :week_start_day, String
- # @return [String] Comma separated list of labels.
+ # @return [String] comma separated list of labels
def label_list
@label_list ||= labels.collect(&:name).join(',')
end
# @return [Array[Epic]] epics associated with this project
@@ -74,16 +74,16 @@
# Cannot be used together with any other parameters except limit and offset.
# ex) state:started requester:OWK label:"jedi stuff" keyword
# @option params [Integer] :offset With the first story in your priority list as 0,
# the index of the first story you want returned.
# @option params [Integer] :limit The number of stories you want returned.
- # @return [Array[Story]] iterations associated with this project
+ # @return [Array[Story]] stories associated with this project
def stories(params = {})
Endpoints::Stories.new(client).get(id, params)
end
- # @param [Fixnum] story_id id of story
- # @return [Story]
+ # @param [Fixnum] story_id id of story to get
+ # @return [Story] Story with given id
def story(story_id)
Endpoints::Story.new(client).get(id, story_id)
end
end
end