Sha256: 6113cb716c6cf8448d041cb0bbba0ac7b2211574acfed5979b46523851265b0e
Contents?: true
Size: 971 Bytes
Versions: 29
Compression:
Stored size: 971 Bytes
Contents
class ServicesMailer < ActionMailer::Base unloadable layout 'email_default' default_url_options[:host] = GlobalConfig.application_url def notification_feed_added(feed) recipients GlobalConfig.admin_email from "#{GlobalConfig.from_email_name} <#{GlobalConfig.from_email}>" sent_on Time.now subject I18n.t('muck.services.new_global_feed', :application_name => GlobalConfig.application_name) body :feed => feed, :application_name => GlobalConfig.application_name end def notification_oai_endpoint_added(oai_endpoint) recipients GlobalConfig.admin_email from "#{GlobalConfig.from_email_name} <#{GlobalConfig.from_email}>" sent_on Time.now subject I18n.t('muck.services.new_global_feed', :application_name => GlobalConfig.application_name) body :oai_endpoint => oai_endpoint, :application_name => GlobalConfig.application_name end end
Version data entries
29 entries across 29 versions & 1 rubygems