class Determinator::Retrieve::NullRetriever
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.
Public Class Methods
new(discovery_url:)
click to toggle source
# File lib/determinator/retrieve/null_retriever.rb, line 7 def initialize(discovery_url:) end
Public Instance Methods
retrieve(_)
click to toggle source
The Control
class will assume a nil return from this method means the feature doesn't exist, so in turn will return `false`.
# File lib/determinator/retrieve/null_retriever.rb, line 12 def retrieve(_) MissingResponse.new end