aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/action_mailbox/ingresses/sendgrid/inbound_emails_controller.rb
blob: b856eb5b9445c3e9989dd27ecc5a1544bf3ff563 (plain) (blame)
1
2
3
4
5
6
7
class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ActionMailbox::BaseController
  before_action :authenticate_by_password

  def create
    ActionMailbox::InboundEmail.create_and_extract_message_id! params.require(:email)
  end
end