diff --git a/lib/pact_broker/diagnostic/resources/base_resource.rb b/lib/pact_broker/diagnostic/resources/base_resource.rb index 8b8e6c78b..8c4ee5e71 100644 --- a/lib/pact_broker/diagnostic/resources/base_resource.rb +++ b/lib/pact_broker/diagnostic/resources/base_resource.rb @@ -16,14 +16,6 @@ def forbidden? return false if PactBroker.configuration.authorize.nil? !PactBroker.configuration.authorize.call(self, {}) end - - def initialize - PactBroker.configuration.before_resource.call(self) - end - - def finish_request - PactBroker.configuration.after_resource.call(self) - end end end end