aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index ee6a07bf34..bbaaaf73ac 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