lib/tracker_api/resources/story.rb in tracker_api-0.1.0 vs lib/tracker_api/resources/story.rb in tracker_api-0.2.0

- old
+ new

@@ -26,8 +26,13 @@ attribute :requested_by_id, Integer attribute :story_type, String # (feature, bug, chore, release) attribute :task_ids, Array[Integer] attribute :updated_at, DateTime attribute :url, String + + # @return [String] Comma separated list of labels. + def label_list + @label_list ||= labels.collect(&:name).join(',') + end end end end