example/ex22.rb in asir-0.2.0 vs example/ex22.rb in asir-1.0.1
- old
+ new
@@ -1,9 +1,9 @@
# !SLIDE :capture_code_output true
# In-core, in-process service, with continuation block.
require 'example_helper'
-pr(Email.client.send_email(:pdf_invoice,
+pr(Email.asir.send_email(:pdf_invoice,
:to => "user@email.com",
:customer => @customer,
&proc { | res | pr [ :in_block, res.result ] })
)