summaryrefslogtreecommitdiff
path: root/app/services/boards/lists/list_service.rb
blob: df2a01a69e5366c0d93fb0baa29193fb17f2223e (plain)
1
2
3
4
5
6
7
8
9
10
11
module Boards
  module Lists
    class ListService < BaseService
      def execute(board)
        board.lists.create(list_type: :backlog) unless board.lists.backlog.exists?

        board.lists
      end
    end
  end
end