1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test/jobs/multiple_kwargs_job.rb

10 lines
242 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require_relative "../support/job_buffer"
class MultipleKwargsJob < ActiveJob::Base
def perform(argument1:, argument2:)
JobBuffer.add("Job with argument1: #{argument1}, argument2: #{argument2}")
end
end