From 98cad4a90d9c95cca0db20af769d8821d756d830 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Tue, 17 Aug 2021 16:34:23 +1000 Subject: [PATCH] chore: can't cache diagnostics response --- lib/pact_broker/diagnostic/resources/heartbeat.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pact_broker/diagnostic/resources/heartbeat.rb b/lib/pact_broker/diagnostic/resources/heartbeat.rb index 5ee0eb925..518f8cbf1 100644 --- a/lib/pact_broker/diagnostic/resources/heartbeat.rb +++ b/lib/pact_broker/diagnostic/resources/heartbeat.rb @@ -4,7 +4,6 @@ module PactBroker module Diagnostic module Resources class Heartbeat < BaseResource - def allowed_methods ["GET"] end @@ -14,7 +13,7 @@ def content_types_provided end def to_json - @@json ||= { + { "ok" => true, "_links" => { "self" => {