Sha256: c6229e3b8943857a5114339f21f59ebd0fc4612b63e7621c966ae2499c80bafd

Contents?: true

Size: 207 Bytes

Versions: 6

Compression:

Stored size: 207 Bytes

Contents

module Piggybak
  class Notifier < ActionMailer::Base
    def order_notification(order)
      @order = order
  
      mail(:to => order.email,
           :subject => "Order ##{@order.id}")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
piggybak-0.3.1 app/mailers/piggybak/notifier.rb
piggybak-0.3.0 app/mailers/piggybak/notifier.rb
piggybak-0.2.1 app/mailers/piggybak/notifier.rb
piggybak-0.2.0 app/mailers/piggybak/notifier.rb
piggybak-0.1.1 app/mailers/piggybak/notifier.rb
piggybak-0.1.0 app/mailers/piggybak/notifier.rb