Skip to content

Commit

Permalink
Add doc for setting the queue adapter.
Browse files Browse the repository at this point in the history
  • Loading branch information
larrylv committed May 19, 2014
1 parent 8a05587 commit 29c9dcc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 29c9dcc

Please sign in to comment.