Sha256: 951a08100d06dbe934719329e1fcd7b517b4b84403399af36ff59be7ab41c971
Contents?: true
Size: 482 Bytes
Versions: 73
Compression:
Stored size: 482 Bytes
Contents
require 'reform' require 'reform/form' module PactBroker module Api module Contracts class PacticipantNameContract < Reform::Form 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
73 entries across 73 versions & 1 rubygems