demarches-normaliennes/app/jobs/pipedrive_accepts_deals_job.rb
2018-04-09 09:54:11 +02:00

5 lines
182 B
Ruby

class PipedriveAcceptsDealsJob < ApplicationJob
def perform(person_id, owner_id, stage_id)
PipedriveService.accept_demande_from_person(person_id, owner_id, stage_id)
end
end