module RSpec::Rails::MailboxExampleGroup

def process(message)

Returns:
  • (ActionMailbox::InboundMessage) -

Parameters:
  • message (Hash, Mail::Message) -- a mail message or hash of
def process(message)
  MailboxExampleGroup.create_inbound_email(message).tap do |mail|
    self.class.mailbox_class.receive(mail)
  end
end