Sha256: 6c5b77d9451e011c5a2fe85dc0dd0f614ef9868b1b77a73addfd792a2c50a182

Contents?: true

Size: 258 Bytes

Versions: 14

Compression:

Stored size: 258 Bytes

Contents

class OrderMailerJob < Struct.new(:order)
  def perform
    OrderMailer.confirmation_for(order).deliver
  rescue Exception => e
    Exceptional.context(:order_id => order.id)
    Exceptional.handle(e, "Could not send order confirmation for order")
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
artfully_ose-1.2.0 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.beta.1 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.alpha.2 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.alpha.1 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.27 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.26 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.24 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.23 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.21 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.20 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.19 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.18 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.17 app/models/job/order_mailer_job.rb
artfully_ose-1.2.0.pre.16 app/models/job/order_mailer_job.rb