instance method
create
Ruby on Rails 7.1.6
Since v6.0.6Signature
create()
No documentation comment.
Source
# 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
Defined in actionmailbox/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb line 20
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailbox::Ingresses::Mandrill::InboundEmailsController