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.62 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.61 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.60 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.59 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.58 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.57 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.56 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.55 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.54 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.53 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.51 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.50 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.49 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.48 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.47 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.46 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.45 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.44 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.43 app/mailers/comee/core/supplier_mailer.rb
comee_core-0.3.42 app/mailers/comee/core/supplier_mailer.rb