Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
README.md
cache.rb
hello.worker
hello_worker.rb
mq.rb
queue_hello.rb

README.md

These are very simple examples of using Iron.io services. You can review the code to get a feel for how it works. To dig deeper and see more complicated examples, check out our examples repository at: https://github.com/iron-io/iron_worker_examples.

Running these examples.

  • Create an iron.json file in this directory with your project_id (and token if you haven't set that in your environment or global .iron.json file). See Configuration for information on setting up your credentials.

Run IronWorker example:

  • Upload the worker:

    iron_worker upload hello

  • Queue up a bunch of tasks:

    ruby queue_hello.rb

Login to the Iron.io HUD at http://hud.iron.io to the running tasks.

Run IronMQ example

ruby mq.rb

Run IronCache example

ruby cache.rb
Something went wrong with that request. Please try again.