2014-06-18 21:40:22 +01:00
|
|
|
module BuildLists
|
|
|
|
class CreateContainerJob
|
|
|
|
@queue = :middle
|
|
|
|
|
|
|
|
def self.perform(build_list_id)
|
2014-06-19 20:35:53 +01:00
|
|
|
build_list = BuildList.find(build_list_id)
|
|
|
|
container = AbfWorkerService::Container.new(build_list)
|
|
|
|
container.create!
|
2014-06-18 21:40:22 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|