Sha256: 2b249f4d4ea6fc19bbdb85ab04654dceaf69aa3061a92f975dafd08a2136c39d
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
require 'pact_broker/hash_refinements' module PactBroker module Api module Resources module MetadataResourceMethods using PactBroker::HashRefinements def pact_params @pact_params ||= PactBroker::Pacts::PactParams.from_request(request, maybe_params_with_consumer_version_number.merge(path_info)) end def maybe_params_with_consumer_version_number metadata.slice(:consumer_version_number) end def metadata @metadata ||= PactBrokerUrls.decode_pact_metadata(identifier_from_path[:metadata]) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-2.73.0 | lib/pact_broker/api/resources/metadata_resource_methods.rb |
pact_broker-2.72.0 | lib/pact_broker/api/resources/metadata_resource_methods.rb |