module Outliers::Verifications::Collection::Shared
Public Instance Methods
equals?(args)
click to toggle source
# File lib/outliers/verifications/collection/shared.rb, line 12 def equals?(args) keys = Array(args) logger.debug "Verifying '#{keys.join(',')}' equals '#{list.empty? ? 'no resources' : list_by_key.join(',')}'." resources = {} list.each {|r| resources.merge! id: r, status: 2} { resources: resources, passing: FIXME_WITH_EQUALS_LOGIC } end
none_exist?()
click to toggle source
# File lib/outliers/verifications/collection/shared.rb, line 6 def none_exist? resources = {} list.each {|r| resources.merge! id: r, status: 2} { resources: resources, passing: resources.any? } end