Sha256: dd857c6f46e1fb773c2300c0e737f72b563276838e4aed90f944d3233f0fefa0
Contents?: true
Size: 492 Bytes
Versions: 20
Compression:
Stored size: 492 Bytes
Contents
require 'reform' require 'reform/contract' module PactBroker module Api module Contracts class PacticipantNameContract < Reform::Contract property :name property :name_in_pact property :pacticipant property :message_args include PactBroker::Messages def blank? string string && string.strip.empty? end def empty? string string.nil? || blank?(string) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems