Sha256: 4cc05937627ab17fa3e710de0a83dea693c3fbf3f828ce8a84915aef9742e1f5

Contents?: true

Size: 411 Bytes

Versions: 40

Compression:

Stored size: 411 Bytes

Contents

require_relative "base_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

40 entries across 40 versions & 1 rubygems

Version Path
pact_broker-2.112.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.111.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.109.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.109.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.108.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.107.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.107.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.107.0.beta.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.106.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.105.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.104.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.103.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.102.2 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.102.1 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.102.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.101.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.100.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.99.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.98.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb
pact_broker-2.97.0 lib/pact_broker/api/decorators/embedded_tag_decorator.rb