Sha256: 33f623f951135f8fca0320cc312a953528aa9582f6a83076fb1566c8e83b7e86

Contents?: true

Size: 461 Bytes

Versions: 158

Compression:

Stored size: 461 Bytes

Contents

require_relative 'base_decorator'
require_relative 'pact_pacticipant_decorator'
require_relative 'timestamps'

module PactBroker

  module Api

    module Decorators

      class EmbeddedTagDecorator < BaseDecorator

        property :name

        link :self do | options |
          {
            title: 'Tag',
            name: represented.name,
            href: tag_url(options[:base_url], represented)
          }
        end

      end
    end
  end
end

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
pact_broker-2.65.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.64.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.63.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.62.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.61.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.60.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.60.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.59.2 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.59.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.59.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.58.3 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.58.2 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.58.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.57.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.56.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.56.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.55.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.54.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.53.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.52.2 lib/pact_broker/api/decorators/embedded_tag_decorator.rb