method
create
v7.1.3.4 -
Show latest stable
- Class:
ActionMailbox::Ingresses::Mandrill::InboundEmailsController
create()public
No documentation available.
# File actionmailbox/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb, line 20
def create
raw_emails.each { |raw_email| ActionMailbox::InboundEmail.create_and_extract_message_id! raw_email }
head :ok
rescue JSON::ParserError => error
logger.error error.message
head :unprocessable_entity
end