Sha256: bd9c54cdb9acb2610f805a41d090f01a9f272aa16ca1c341c1c175b060f1a811
Contents?: true
Size: 962 Bytes
Versions: 25
Compression:
Stored size: 962 Bytes
Contents
class RakerMailer < 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.raker.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.raker.new_global_feed', :application_name => GlobalConfig.application_name) body :oai_endpoint => oai_endpoint, :application_name => GlobalConfig.application_name end end
Version data entries
25 entries across 25 versions & 1 rubygems