Sha256: c135f0fedfd0428cee9024cafc64e105586bae392a96034381e883971090b646
Contents?: true
Size: 688 Bytes
Versions: 4
Compression:
Stored size: 688 Bytes
Contents
require_relative 'base_decorator' require_relative 'timestamps' module PactBroker module Api module Decorators class EnvironmentDecorator < BaseDecorator property :uuid, writeable: false property :name property :display_name, camelize: true property :production collection :contacts, class: OpenStruct do property :name property :details end include Timestamps link :self do | options | { title: 'Environment', name: represented.name, href: environment_url(represented, options[:base_url]) } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems