lib/pact_broker/api/resources/pact.rb in pact_broker-2.38.1 vs lib/pact_broker/api/resources/pact.rb in pact_broker-2.39.0
- old
+ new
@@ -23,13 +23,14 @@
class Pact < BaseResource
include PacticipantResourceMethods
include WebhookExecutionMethods
def content_types_provided
- [["application/hal+json", :to_json],
- ["application/json", :to_json],
- ["text/html", :to_html],
- ["application/vnd.pactbrokerextended.v1+json", :to_extended_json]
+ [
+ ["application/hal+json", :to_json],
+ ["application/json", :to_json],
+ ["text/html", :to_html],
+ ["application/vnd.pactbrokerextended.v1+json", :to_extended_json]
]
end
def content_types_accepted
[["application/json", :from_json]]