Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 14 lines (12 sloc) 0.452 kb
73ccdfd @carimura first commit
carimura authored
1 require 'iron_worker_ng'
2
3 client = IronWorkerNG::Client.new('','')
4 master_code = IronWorkerNG::Code::Ruby.new
5 master_code.merge_worker 'stream_analyzer.rb'
6 master_code.merge_gem 'rest-client'
7 master_code.merge_gem 'activesupport'
8 master_code.merge_gem 'iron_worker_ng'
1a919df @carimura hit_action now kicks off 100 slave workers when it finds a #voteiron twe...
carimura authored
9 master_code.merge_gem 'hipchat-api'
73ccdfd @carimura first commit
carimura authored
10 client.codes.create(master_code)
11
12 slave_code = IronWorkerNG::Code::Ruby.new
13 slave_code.merge_worker 'hit_action.rb'
14 client.codes.create(slave_code)
Something went wrong with that request. Please try again.