Sha256: 61d597b5a200ef5d0bd836f1e0ca43694dc0646d6ddadb370c2d6e4f6539a519

Contents?: true

Size: 455 Bytes

Versions: 250

Compression:

Stored size: 455 Bytes

Contents

module Comee
  module Core
    class SupplierMailer < ApplicationMailer
      default from: "notifications@maveco.com"

      def new_order_notification
        @back_order = params[:back_order]
        I18n.with_locale(@back_order.supplier.locale) do
          mail(
            from: "support@maveko.com",
            to: @back_order.supplier.user.email,
            subject: "New Order Notification"
          )
        end
      end
    end
  end
end

Version data entries

250 entries across 250 versions & 1 rubygems

Version Path
comee_core-0.3.1 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.0 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.99 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.98 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.97 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.96 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.95 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.94 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.93 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.92 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.91 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.90 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.89 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.88 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.87 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.86 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.85 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.84 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.83 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.2.82 app/mailers/comee/core/supplier_mailer.rb