Extract method in API middleware
Extract method in API middleware

BenHSmith13/text_editor,atomicjolt/lti_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/react_client_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/react_client_starter_app,atomicjolt/lti_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/react_starter_app,atomicjolt/adhesion,atomicjolt/content_player,jbasdf/speakeasy,atomicjolt/QbankAdmin,hackUSU/HackUStateF16,atomicjolt/OpenAssessmentsClient,atomicjolt/react_starter_app,atomicjolt/react_starter_app,BenHSmith13/text_editor,atomicjolt/OpenAssessmentsClient,atomicjolt/open_assessments,atomicjolt/adhesion,atomicjolt/lti_starter_app,hackUSU/HackUStateF16,atomicjolt/QbankAdmin,atomicjolt/OpenAssessmentsClient,atomicjolt/open_assessments,jbasdf/speakeasy,atomicjolt/QbankAdmin,atomicjolt/adhesion,colorKeysPrinting/colorKeysPrinting_react,atomicjolt/lti_starter_app,colorKeysPrinting/colorKeysPrinting_react,atomicjolt/content_player,atomicjolt/open_assessments,atomicjolt/react_client_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/react_starter_app,atomicjolt/adhesion