Sha256: dbb2447baaa80d5cc6694124963f22d86eedd20d0902d03178a3d8e9d2c3bb81
Contents?: true
Size: 563 Bytes
Versions: 21
Compression:
Stored size: 563 Bytes
Contents
# !SLIDE :capture_code_output true # Socket service require 'example_helper' begin Email.asir.transport = t = ASIR::Transport::TcpSocket.new(:port => 30909) t.encoder = ASIR::Coder::Marshal.new t.prepare_server! server_process do t.run_server! end pr Email.asir.send_email(:pdf_invoice, :to => "user@email.com", :customer => @customer) ensure t.close; sleep 1; server_kill end # !SLIDE END # EXPECT: : client process # EXPECT: : server process # EXPECT: : Email.send_mail :pdf_invoice # EXPECT: : pr: :ok
Version data entries
21 entries across 21 versions & 1 rubygems