lib/pact_broker/api/resources/pact.rb in pact_broker-2.58.3 vs lib/pact_broker/api/resources/pact.rb in pact_broker-2.59.0

- old
+ new

@@ -48,13 +48,17 @@ false end end def resource_exists? - !!resource_object + !!pact end def resource_object + pact + end + + def policy_resource pact end def from_json response_code = pact ? 200 : 201