Sha256: a63c76d2f2eac87e7cdde4818ce91fcb312457c76d305fe80c2cc14f7007a3f3
Contents?: true
Size: 493 Bytes
Versions: 67
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
67 entries across 67 versions & 1 rubygems