Sha256: 7fe760cba469058c0b4b9c6b2b70e89d9b1db0ad879fb35023b1ef2237027ecf

Contents?: true

Size: 577 Bytes

Versions: 94

Compression:

Stored size: 577 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

94 entries across 94 versions & 1 rubygems

Version Path
pact_broker-2.23.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.22.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.21.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.20.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.19.2 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.19.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.19.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.18.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.17.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.17.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.16.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.16.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.15.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.14.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.13.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.13.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.12.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.11.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.10.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.9.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb