Sha256: fac377b91ed691c59b3fe181648e684b5b759d658418eaa94bbff24bda9a12aa
Contents?: true
Size: 365 Bytes
Versions: 14
Compression:
Stored size: 365 Bytes
Contents
module Spree class BaseMailer < ActionMailer::Base def from_address Spree::Config[:mails_from] end def money(amount, currency = Spree::Config[:currency]) Spree::Money.new(amount, currency: currency).to_s end helper_method :money def mail(headers={}, &block) super if Spree::Config[:send_core_emails] end end end
Version data entries
14 entries across 14 versions & 1 rubygems