Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 8 lines (7 sloc) 0.306 kB
baf5f10 @rkononov added email example, refactored a bit
rkononov authored
1 puts "Initializing IronWorker"
2 IW_CLIENT = IronWorkerNG::Client.new
3 puts "Creating worker from worker file"
4 code_from_workerfile = IronWorkerNG::Code::Base.new(:workerfile => 'workers/simple_mailer_worker.worker')
5 puts "Uploading worker"
6 IW_CLIENT.codes.create(code_from_workerfile)
7 puts "Worker uploaded"
Something went wrong with that request. Please try again.