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.79.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.79.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.78.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.78.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.77.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.76.2 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.76.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.76.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.75.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.74.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.74.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.73.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.72.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.71.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.70.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.69.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.68.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.68.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.67.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.66.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb