example/ex11.rb in asir-1.1.8 vs example/ex11.rb in asir-1.1.9
- old
+ new
@@ -8,10 +8,10 @@
ASIR::Transport::Fallback.new(:transports => [
tcp = ASIR::Transport::TcpSocket.new(:port => 31911,
:encoder => ASIR::Coder::Marshal.new),
ASIR::Transport::Broadcast.new(:transports => [
file = ASIR::Transport::File.new(:file => service_log,
- :encoder => ASIR::Coder::Yaml.new),
+ :encoder => ASIR::Coder::Yaml.new(:yaml_options => { :ASCII_8BIT_ok => true })),
ASIR::Transport::Subprocess.new,
]),
])
pr Email.asir.send_email(:pdf_invoice,
:to => "user@email.com", :customer => @customer)