example/ex09.rb in asir-1.2.1 vs example/ex09.rb in asir-1.2.2
- old
+ new
@@ -5,11 +5,11 @@
begin
Email.asir.transport = t =
ASIR::Transport::TcpSocket.new(:port => 30909)
t.encoder =
ASIR::Coder::Marshal.new
- t.prepare_server!
server_process do
+ t.prepare_server!
t.run_server!
end
pr Email.asir.send_email(:pdf_invoice,
:to => "user@email.com", :customer => @customer)
ensure