Sha256: c50c69a9b65ca0908f10a922bc39a79b82d5058c47b327e2989eb05b6611f8ad
Contents?: true
Size: 489 Bytes
Versions: 2
Compression:
Stored size: 489 Bytes
Contents
require_relative 'base_decorator' require_relative 'pact_pacticipant_decorator' module PactBroker module Api module Decorators class TagDecorator < BaseDecorator property :createdAt, getter: lambda { |_| created_at ? created_at.xmlschema : nil } property :updatedAt, getter: lambda { |_| updated_at ? updated_at.xmlschema : nil } link :self do | options | tag_url(options[:base_url], represented) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-1.2.0 | lib/pact_broker/api/decorators/tag_decorator.rb |
pact_broker-1.1.0 | lib/pact_broker/api/decorators/tag_decorator.rb |