2014-06-18 21:40:22 +01:00
|
|
|
class DestroyProjectFromRepositoryJob
|
|
|
|
|
2014-06-23 20:29:00 +01:00
|
|
|
def self.perform(project, repository)
|
2014-06-19 20:35:53 +01:00
|
|
|
service = AbfWorkerService::Repository.new(repository)
|
|
|
|
service.destroy_project!(project)
|
2014-06-18 21:40:22 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|