Sha256: 371695953c6a4c2b8540b41c6fdd57eed753875a28aa259d4aa07cbaa01d7764

Contents?: true

Size: 576 Bytes

Versions: 39

Compression:

Stored size: 576 Bytes

Contents

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

module PactBroker

  module Api

    module Decorators

      class PactPacticipantDecorator < BaseDecorator

        property :name
        property :repository_url
        property :version, :class => "PactBroker::Domain::Version", :extend => PactBroker::Api::Decorators::EmbeddedVersionDecorator, :embedded => true

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

      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
pact_broker-2.107.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.107.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.107.0.beta.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.106.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.105.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.104.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.103.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.102.2 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.102.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.102.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.101.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.100.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.99.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.98.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.97.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.96.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.95.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.95.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.94.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.93.4 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb