example/ex03.rb in asir-0.2.0 vs example/ex03.rb in asir-1.0.1
- old
+ new
@@ -2,13 +2,13 @@
# !SLIDE :capture_code_output true
# One-way, asynchronous subprocess service
require 'example_helper'
begin
- Email.client.transport = t =
+ Email.asir.transport = t =
ASIR::Transport::Subprocess.new
- pr Email.client.send_email(:pdf_invoice,
+ pr Email.asir.send_email(:pdf_invoice,
:to => "user@email.com",
:customer => @customer)
end
# !SLIDE END