Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 452 Bytes
require 'iron_worker_ng'
client = IronWorkerNG::Client.new('','')
master_code = IronWorkerNG::Code::Ruby.new
master_code.merge_worker 'stream_analyzer.rb'
master_code.merge_gem 'rest-client'
master_code.merge_gem 'activesupport'
master_code.merge_gem 'iron_worker_ng'
master_code.merge_gem 'hipchat-api'
client.codes.create(master_code)
slave_code = IronWorkerNG::Code::Ruby.new
slave_code.merge_worker 'hit_action.rb'
client.codes.create(slave_code)