Sha256: daef641c96bdfe070081463ba3b8c919a693931aefafc32bfb73e508ab5dc59d
Contents?: true
Size: 508 Bytes
Versions: 16
Compression:
Stored size: 508 Bytes
Contents
module Determinator module Retrieve # This retriever is a stub which acts as if there are # no currently active experiments or features. # Use this retriever when you need to run tests in other systems. class NullRetriever def initialize(discovery_url:) end # The Control class will assume a nil return from this method # means the feature doesn't exist, so in turn will return `false`. def retrieve(_) MissingResponse.new end end end end
Version data entries
16 entries across 16 versions & 1 rubygems