Sha256: a8b297f39ff669ac94e552403e28be5b28760f219766bfdd7352d49f49623171
Contents?: true
Size: 493 Bytes
Versions: 36
Compression:
Stored size: 493 Bytes
Contents
require "pact_broker/api/contracts/base_contract" module PactBroker module Api module Contracts class PacticipantNameContract < BaseContract 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
36 entries across 36 versions & 1 rubygems