You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: asset_notification_job.rb
    path of file: ./repos/alonetone/app/jobs
    
    the code of the file until where you have to start completion: class AssetNotificationJob < ApplicationJob
  queue_as :mailers

  def perform(as
    
  def perform(asset_ids:, user_id:)
    assets = Asset.where(id: asset_ids).to_a
    follower = User.find_by(id: user_id)

    return unless follower&.email && assets.present?
    return AssetNotification.upload_notification(assets.first, follower.email).deliver_now if assets.count == 1
    AssetNotification.upload_mass_notification(assets, follower.email).deliver_now
  end