Sha256: 41c5a732653d9ad4adf0042da954294dddba5aec8863b31a9fd63c71f9fdf51d
Contents?: true
Size: 585 Bytes
Versions: 9
Compression:
Stored size: 585 Bytes
Contents
require 'pact_broker/api/resources/base_resource' require 'pact_broker/api/renderers/integrations_dot_renderer' module PactBroker module Api module Resources class Integrations < BaseResource def content_types_provided [["text/vnd.graphviz", :to_dot]] end def allowed_methods ["GET", "OPTIONS"] end def to_dot PactBroker::Api::Renderers::IntegrationsDotRenderer.call(integrations) end def integrations pact_service.find_latest_pacts end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems