Method: Aws::Rails::ActionMailbox::SnsNotification#message_content
- Defined in:
- lib/aws/rails/action_mailbox/sns_notification.rb
#message_content ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/aws/rails/action_mailbox/sns_notification.rb', line 34 def raise MessageContentError, 'Incoming emails must have notificationType `Received`' unless receipt? if content_in_s3? s3_content else return [:content] unless destination "X-Original-To: #{destination}\n#{[:content]}" end end |