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.451 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'
9 client.codes.create(master_code)
10
11 slave_code = IronWorkerNG::Code::Ruby.new
12 slave_code.merge_worker 'hit_action.rb'
13 slave_code.merge_gem 'hipchat-api'
14 client.codes.create(slave_code)
Something went wrong with that request. Please try again.