From 00117e3e547b1f8b3ceb62e8c81a55b831a552a8 Mon Sep 17 00:00:00 2001 From: Campbell Allen Date: Tue, 13 Nov 2018 14:58:24 +0000 Subject: [PATCH] ensure we use rollbar middleware --- interventions_gateway_api.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interventions_gateway_api.rb b/interventions_gateway_api.rb index 67945c1..3642bd6 100644 --- a/interventions_gateway_api.rb +++ b/interventions_gateway_api.rb @@ -16,6 +16,8 @@ SUBJECT_QUEUE_EVENT_TYPE = { event_type: 'subject_queue' }.freeze class InterventionsGatewayApi < Sinatra::Base + use Rollbar::Middleware::Sinatra + attr_reader :credential configure :production, :development do