Sha256: 26d6f9473b1a08ecefb10e9cc52cb570e4e462b66704687dfeffc09f2a7bf018

Contents?: true

Size: 533 Bytes

Versions: 44

Compression:

Stored size: 533 Bytes

Contents

require_relative "base_decorator"
require_relative "verifiable_pact_decorator"
require "pact_broker/api/pact_broker_urls"

module PactBroker
  module Api
    module Decorators
      class VerifiablePactsDecorator < BaseDecorator
        collection :entries, as: :pacts, embedded: true, :extend => PactBroker::Api::Decorators::VerifiablePactDecorator

        link :self do | context |
          {
            href: context[:resource_url],
            title: "Pacts to be verified"
          }
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
pact_broker-2.112.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.111.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.109.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.109.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.108.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.107.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.107.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.107.0.beta.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.106.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.105.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.104.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.103.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.102.2 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.102.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.102.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.101.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.100.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.99.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.98.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.97.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb