Sha256: 08728866a208aa8ea9274e0ae13fe483482c2b9ad2df3e09c53ca142f3342fe4
Contents?: true
Size: 401 Bytes
Versions: 48
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true module Spree class BaseMailer < ActionMailer::Base def from_address(store) store.mail_from_address 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
48 entries across 48 versions & 2 rubygems