Sha256: 913c09d9c8d905b6beb87e74263634e2b0e4b739e9ba4ab9685befa119f03ec3
Contents?: true
Size: 1.03 KB
Versions: 23
Compression:
Stored size: 1.03 KB
Contents
module PactBroker module Matrix class UnresolvedSelector < Hash def initialize(params = {}) merge!(params) end def pacticipant_name self[:pacticipant_name] end def pacticipant_version_number self[:pacticipant_version_number] end def latest? !!latest end def latest self[:latest] end def tag self[:tag] end def latest= latest self[:latest] = latest end def tag= tag self[:tag] = tag end def pacticipant_name= pacticipant_name self[:pacticipant_name] = pacticipant_name end def pacticipant_version_number= pacticipant_version_number self[:pacticipant_version_number] = pacticipant_version_number end def max_age= max_age self[:max_age] = max_age end def max_age self[:max_age] end def latest_for_pacticipant_and_tag? !!(pacticipant_name && tag && latest) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems