Sha256: 4e24294c89414b9fa556919e930e489c32aaa6330f34cac00109d9cc09adbcf1
Contents?: true
Size: 929 Bytes
Versions: 24
Compression:
Stored size: 929 Bytes
Contents
require_relative 'base_decorator' require_relative 'embedded_version_decorator' require 'pact_broker/api/decorators/timestamps' require 'pact_broker/domain' module PactBroker module Api module Decorators class PacticipantDecorator < BaseDecorator property :name property :repository_url, as: :repositoryUrl property :latest_version, as: :'latest-version', :class => PactBroker::Domain::Version, :extend => PactBroker::Api::Decorators::EmbeddedVersionDecorator, :embedded => true, writeable: false include Timestamps link :self do | options | pacticipant_url(options[:base_url], represented) end link 'latest-version' do | options | latest_version_url(options[:base_url], represented) end link :versions do | options | versions_url(options[:base_url], represented) end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems