Module: MailControl::LoggedEmail

Extended by:
ActiveSupport::Concern
Included in:
LoggedEmail
Defined in:
lib/mail-control/logged_email.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#refresh_dataObject



86
87
88
# File 'lib/mail-control/logged_email.rb', line 86

def refresh_data
  save(:validate => false)
end

#send_email(data = {}) ⇒ Object

Publishes the mailing to the receivers

Parameters:

  • options (Hash)

    The options to send_email with.



79
80
81
82
83
# File 'lib/mail-control/logged_email.rb', line 79

def send_email(data = {})
  assign_properties(data)

  self
end