lib/pact_broker/api/resources/integrations.rb in pact_broker-2.74.1 vs lib/pact_broker/api/resources/integrations.rb in pact_broker-2.75.0
- old
+ new
@@ -20,10 +20,10 @@
def to_dot
PactBroker::Api::Renderers::IntegrationsDotRenderer.call(integrations)
end
def to_json
- PactBroker::Api::Decorators::IntegrationsDecorator.new(integrations).to_json(user_options: decorator_context)
+ decorator_class(:integrations_decorator).new(integrations).to_json(decorator_options)
end
def integrations
@integrations ||= integration_service.find_all
end