class RailsBand::ActionMailer::Event::Deliver

A wrapper for the event that is passed to ‘deliver.action_mailer`.

def bcc

def bcc
  @bcc ||= @event.payload[:bcc] || []
end

def cc

def cc
  @cc ||= @event.payload[:cc] || []
end

def date

def date
  @date ||= @event.payload.fetch(:date)
end

def from

def from
  @from ||= @event.payload.fetch(:from)
end

def mail

def mail
  @mail ||= @event.payload.fetch(:mail)
end

def mailer

def mailer
  @mailer ||= @event.payload.fetch(:mailer)
end

def message_id

def message_id
  @message_id ||= @event.payload.fetch(:message_id)
end

def perform_deliveries

def perform_deliveries
  @perform_deliveries ||= @event.payload.fetch(:perform_deliveries)
end

def subject

def subject
  @subject ||= @event.payload.fetch(:subject)
end

def to

def to
  @to ||= @event.payload.fetch(:to)
end