11 lines
222 B
Ruby
11 lines
222 B
Ruby
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
|