Parent

Notifier

Public Instance Methods

order_received(order) click to toggle source

Subject can be set in your I18n file at config/locales/en.yml with the following lookup:

en.notifier.order_received.subject

    # File app/mailers/notifier.rb, line 9
 9:   def order_received(order)

10:     @order = order

11: 

12:     mail :to => order.email, 

13:          :subject => 'Potvrzení objednávky z Pragmatické knihovny'

14:   end
order_shipped(order) click to toggle source

Subject can be set in your I18n file at config/locales/en.yml with the following lookup:

en.notifier.order_shipped.subject

    # File app/mailers/notifier.rb, line 21
21:   def order_shipped(order)

22:     @order = order

23: 

24:     mail :to => order.email, 

25:          :subject => 'Objednávka z Pragmatické knihovny byla odeslána'

26:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.