Class: ActionMailbox::Ingresses::Amazon::InboundEmailsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



37
38
39
40
41
42
# File 'app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb', line 37

def create
  head :bad_request unless notification.message_content.present?

  ActionMailbox::InboundEmail.create_and_extract_message_id!(notification.message_content)
  head :no_content
end