Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.44 kb
require_relative 'config.rb'
iw = IronWorkerNG::Client.new
task = iw.tasks.create("email_worker",
SingletonConfig.config.merge(
to: "treeder@gmail.com",
subject: "Thanks for the Lead!",
body: "Thanks again for the lead"
))
status = iw.tasks.wait_for(task.id)
p status
puts status.msg
puts iw.tasks.log(task.id)
Jump to Line
Something went wrong with that request. Please try again.