Sha256: 61a958aec2e8affe2fdd767ec50b052dd995c208ef2f3890102c97c94ae8b335

Contents?: true

Size: 335 Bytes

Versions: 48

Compression:

Stored size: 335 Bytes

Contents

require_relative "base_decorator"

module PactBroker
  module Api
    module Decorators
      class EmbeddedPacticipantDecorator < BaseDecorator
        camelize_property_names

        property :name

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

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
pact_broker-2.86.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.85.1 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.85.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.84.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.83.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.82.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.81.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb
pact_broker-2.80.0 lib/pact_broker/api/decorators/embedded_pacticipant_decorator.rb