Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add doc for setting the queue adapter.

  • Loading branch information...
commit 29c9dcc4aff563085e94ec89c148b6e779fd4e46 1 parent 8a05587
@larrylv larrylv authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.