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.31.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.30.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.29.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.27.6 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.27.5 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.27.4 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.27.3 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.27.2 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.27.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.26.1 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.26.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.25.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.24.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.23.4 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.23.3 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.23.2 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.23.1 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.23.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.22.0 lib/pact_broker/api/decorators/pact_details_decorator.rb
pact_broker-2.21.0 lib/pact_broker/api/decorators/pact_details_decorator.rb