lib/pact_broker/api/resources/webhook.rb in pact_broker-2.23.0 vs lib/pact_broker/api/resources/webhook.rb in pact_broker-2.23.1
- old
+ new
@@ -15,10 +15,10 @@
def content_types_provided
[["application/hal+json", :to_json]]
end
def allowed_methods
- ["GET", "PUT", "DELETE"]
+ ["GET", "PUT", "DELETE", "OPTIONS"]
end
def resource_exists?
webhook
end