Sha256: ef428450abf120e94e75836c241f65c5d9a97593e688fdee038e57e3953e3cf6

Contents?: true

Size: 405 Bytes

Versions: 10

Compression:

Stored size: 405 Bytes

Contents

require 'example_helper'
gem 'resque'
require 'asir/transport/resque'
require 'asir/coder/marshal'
begin
  Email.asir.transport = t =
    ASIR::Transport::Resque.new
  t.one_way = true
  t.encoder = ASIR::Coder::Marshal.new
  pr Email.asir.send_email(:pdf_invoice,
                             :to => "user@email.com",
                             :customer => @customer)
ensure
  t.close rescue nil
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
asir_resque-1.2.0 example/asir_control_client_resque.rb
asir_resque-1.1.3 example/asir_control_client_resque.rb
asir-1.1.1 example/asir_control_client_resque.rb
asir-1.1.0 example/asir_control_client_resque.rb
asir-1.0.8 example/asir_control_client_resque.rb
asir-1.0.7 example/asir_control_client_resque.rb
asir-1.0.6 example/asir_control_client_resque.rb
asir-1.0.5 example/asir_control_client_resque.rb
asir-1.0.4 example/asir_control_client_resque.rb
asir-1.0.1 example/asir_control_client_resque.rb