lib/pact_broker/api/resources/pact.rb in pact_broker-2.101.0 vs lib/pact_broker/api/resources/pact.rb in pact_broker-2.102.0

- old
+ new

@@ -34,9 +34,13 @@ def allowed_methods ["GET", "PUT", "DELETE", "PATCH", "OPTIONS"] end + def request_body_required? + request.put? || request.patch? + end + def put_can_create? true end def patch_can_create?