Class: ActionMailbox::Ingresses::PostageApp::InboundEmailsController
- Inherits:
-
BaseController
- Object
- BaseController
- ActionMailbox::Ingresses::PostageApp::InboundEmailsController
- Defined in:
- app/ingresses/action_mailbox/ingresses/postage_app/inbound_emails_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'app/ingresses/action_mailbox/ingresses/postage_app/inbound_emails_controller.rb', line 7 def create ActionMailbox::InboundEmail.() head(:ok) rescue JSON::ParserError => e logger.error(e.) head(:unprocessable_entity) end |