lib/tracker_api/resources/story.rb in tracker_api-1.7.0 vs lib/tracker_api/resources/story.rb in tracker_api-1.7.1

- old
+ new

@@ -19,11 +19,11 @@ attribute :follower_ids, [Integer] attribute :followers, [Person] attribute :integration_id, Integer attribute :kind, String attribute :label_ids, [Integer] - attribute :labels, [Label] + attribute :labels, [Label], default: nil attribute :name, String attribute :owned_by_id, Integer # deprecated! attribute :owned_by, Person attribute :owner_ids, [Integer] attribute :owners, [Person] @@ -60,10 +60,10 @@ end # @return [String] Comma separated list of labels. def label_list @label_list ||= begin - return if labels.nil? + return if labels.nil? labels.collect(&:name).join(',') end end # Adds a new label to the story.