diff --git a/README.md b/README.md index ee6a07bf3448fd38950ad1868cd9529d04ad9d9a..bbaaaf73ac9b863c3c5edff9e39af35ef48209c3 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,13 @@ switch between them without having to rewrite your jobs. ## Usage +Set the queue adapter for Active Job: + +``` ruby +ActiveJob::Base.queue_adapter = :inline # default queue adapter +# Adapters currently supported: :resque, :sidekiq, :sucker_punch, :delayed_job +``` + Declare a job like so: ```ruby