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.34.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.33.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.32.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.31.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.30.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.29.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.27.6 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.27.5 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.27.4 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.27.3 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.27.2 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.27.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.26.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.26.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.25.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.24.0 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.23.4 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.23.3 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.23.2 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb
pact_broker-2.23.1 lib/pact_broker/api/decorators/pact_pacticipant_decorator.rb