Sha256: ac65b8839690dc175350541bed7828d52508e07cee872b7f1291b11bfcf6f3f0

Contents?: true

Size: 433 Bytes

Versions: 21

Compression:

Stored size: 433 Bytes

Contents

#
# !SLIDE :capture_code_output true
# One-way, asynchronous subprocess service

require 'example_helper'
begin
  Email.asir.transport = t =
    ASIR::Transport::Subprocess.new

  pr Email.asir.send_email(:pdf_invoice,
                             :to => "user@email.com",
                             :customer => @customer)
end

# !SLIDE END
# EXPECT: : client process
# EXPECT: : Email.send_mail :pdf_invoice
# EXPECT: : pr: nil

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
asir-1.0.1 example/ex03.rb