Skip to content

Commit

Permalink
Added IronWorker config instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Mar 6, 2012
1 parent 9ca152d commit 0f6e0a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -14,6 +14,12 @@ Here's an example one: https://gist.github.com/1989106

### Queue it up!

# Configure IronWorker first
IronWorker.configure do |config|
config.token = 'MY_IRON_TOKEN'
config.project_id = 'MY_IRON_PROJECT_ID'
end
# Now we just create our GistWorker and queue it up
require 'gist_worker'
worker = GistWorker::Worker.new
worker.gist_id = "1989106"
Expand Down

0 comments on commit 0f6e0a7

Please sign in to comment.