demarches-normaliennes/app/jobs/pipedrive_accepts_deals_job.rb

6 lines
180 B
Ruby
Raw Normal View History

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