Sha256: 93e544cbfa0b873691a55da411e62f22f4f49cf64dc138608c34f11b8684e554
Contents?: true
Size: 658 Bytes
Versions: 10
Compression:
Stored size: 658 Bytes
Contents
module LoldesignPublisher class ContactMailer < ActionMailer::Base def send_contact_message(options={}) @title = options[:title] || 'Título Padrão' @message = options[:message] || 'Mensagem Padrão' @subject = options[:subject] || 'E-mail enviado pelo web-site.' @extra_fields = options[:extra_fields] || {} @to = options[:to] || 'eduardo@loldesign.com.br' @from = options[:from] || 'suporte@loldesign.com.br' mail( :to => @to, :from => @from, :subject => @subject ) end end end
Version data entries
10 entries across 10 versions & 1 rubygems