Sha256: 0e60c73a438222fcd0f60ed827f4434ceea5e12bd8febf4e2ba563705373394b
Contents?: true
Size: 373 Bytes
Versions: 6
Compression:
Stored size: 373 Bytes
Contents
module Matchers module Type def have_country_code( attribute, valid_hash = {} ) HaveCountryCodeMatcher.new( attribute, valid_hash ) end class HaveCountryCodeMatcher < EnumMatcher def initialize( attribute, valid_hash ) super( attribute, valid_hash, 'CountryCode', 'CountryCodes', nonsense_value: 'XX'.freeze ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems