modules/vba_documents/app/controllers/vba_documents/internal/v0/upload_complete_controller.rb
# Make sure the message we're receiving is from the topic
# we're expecting to get messages from
Make sure the message we're receiving is from the topic
we're expecting to get messages from
Make sure the message we ' re receiving is from the topic we ' re expecting to get messages from
def verify_topic_arn
          unless Settings.vba_documents.sns.topic_arns.include? json_params['TopicArn']
            raise Common::Exceptions::ParameterMissing, 'TopicArn'
          end
        end
def verify_topic_arn unless Settings . vba_documents . sns . topic_arns . include? json_params [ 'TopicArn' ] raise Common :: Exceptions :: ParameterMissing , 'TopicArn' end end
Make sure the message we're receiving is from the topic
we're expecting to get messages from
Make sure the message we ' re receiving is from the topic we ' re expecting to get messages from