Skip to content

Commit

Permalink
feat(diagnostic): remove before_resource and after_resource hook call…
Browse files Browse the repository at this point in the history
…s from diagnostics endpoints
  • Loading branch information
bethesque committed Nov 10, 2019
1 parent e238749 commit b1dac2b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/pact_broker/diagnostic/resources/base_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1dac2b

Please sign in to comment.