lib/runcible/resources/task_group.rb in runcible-1.7.2 vs lib/runcible/resources/task_group.rb in runcible-1.8.0

- old
+ new

@@ -5,10 +5,10 @@ # Generates the API path for Tasks # # @param [String] id the id of the task # @return [String] the task path, may contain the id if passed def self.path(id = nil) - (id.nil?) ? 'task_groups/' : "task_groups/#{id}/" + id.nil? ? 'task_groups/' : "task_groups/#{id}/" end def self.summary_path(id) "task_groups/#{id}/state_summary/" end