Sha256: 213658b9c28a515578ef4601927c8827c0c5ad1fd521291dbcbb11ddad1a70d2

Contents?: true

Size: 538 Bytes

Versions: 91

Compression:

Stored size: 538 Bytes

Contents

require_relative 'base_decorator'
require_relative 'pact_pacticipant_decorator'

module PactBroker

  module Api

    module Decorators

      class PactDetailsDecorator < BaseDecorator

        property :consumer, :extend => PactBroker::Api::Decorators::PactPacticipantDecorator, :embedded => true
        property :provider, :extend => PactBroker::Api::Decorators::PactPacticipantDecorator, :embedded => true

        link :self do | options |
          pact_url(options[:base_url], represented)
        end

      end
    end
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
pact_broker-2.20.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.19.2 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.19.1 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.19.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.18.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.17.1 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.17.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.16.1 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.16.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.15.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.14.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.13.1 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.13.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.12.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.11.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.10.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.9.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.9.0.beta.5 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.8.0.beta.5 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.8.0.beta.4 lib/pact_broker/api/decorators/pact_details_decorator.rb