class UserUnsubscribeJob < ApplicationJob queue_as :default def perform(user) # this will happen later user.unsubscribe end end