Sha256: a1c1c066985095f3e78164f13bc7f3f950947cb35d46a38a8074fe3a3ddc0e7b

Contents?: true

Size: 533 Bytes

Versions: 66

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

66 entries across 66 versions & 1 rubygems

Version Path
pact_broker-2.79.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.79.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.78.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.78.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.77.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.76.2 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.76.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.76.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.75.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.74.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.74.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.73.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.72.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.71.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.70.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.69.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.68.1 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.68.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.67.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb
pact_broker-2.66.0 lib/pact_broker/api/decorators/verifiable_pacts_decorator.rb