Sha256: 7dffceab2547ac47331b96f3645ea29e504fe9bd278d5296d5b6e237594512ac
Contents?: true
Size: 603 Bytes
Versions: 99
Compression:
Stored size: 603 Bytes
Contents
module PactBroker module Api module Decorators class DecoratorContext < Hash attr_reader :base_url, :resource_url, :resource_title def initialize base_url, resource_url, options = {} @base_url = base_url self[:base_url] = base_url @resource_url = resource_url self[:resource_url] = resource_url @resource_title = options[:resource_title] self[:resource_title] = resource_title merge!(options) end def to_s "DecoratorContext #{super}" end end end end end
Version data entries
99 entries across 99 versions & 1 rubygems