Sha256: 44e78f524167220962ebe4cb755b0de201cca5e09bcc905f9da63e505ddd3f2a

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

require_relative 'base_decorator'

module PactBroker
  module Api
    module Decorators
      class VersionRepresenter < BaseDecorator

        property :number

        link :self do
          version_url(represented)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact_broker-0.0.8 lib/pact_broker/api/decorators/version_decorator.rb
pact_broker-0.0.7 lib/pact_broker/api/decorators/version_decorator.rb
pact_broker-0.0.6 lib/pact_broker/api/decorators/version_decorator.rb