Sha256: 32f2ff8237c7782fd67d7d3100ae53f38011ef9c9d3bd787129e76c94ab0a4b2
Contents?: true
Size: 652 Bytes
Versions: 17
Compression:
Stored size: 652 Bytes
Contents
require 'pact_broker/api/resources/base_resource' require 'pact_broker/api/decorators/relationships_csv_decorator' module PactBroker module Api module Resources class Relationships < BaseResource def content_types_provided [["text/csv", :to_csv]] end def allowed_methods ["GET", "OPTIONS"] end def to_csv PactBroker::Api::Decorators::RelationshipsCsvDecorator.new(pacts).to_csv end def pacts pact_service.find_latest_pacts end def policy_name :'integrations::integrations' end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems