demarches-normaliennes/app/jobs/pipedrive_refuses_deals_job.rb

5 lines
180 B
Ruby

class PipedriveRefusesDealsJob < ApplicationJob
def perform(person_id, administration_id)
PipedriveService.refuse_demande_from_person(person_id, administration_id)
end
end