Method: Featureflow::Configuration#validate!

Defined in:
lib/featureflow/configuration.rb

#validate!Object



23
24
25
26
27
# File 'lib/featureflow/configuration.rb', line 23

def validate!
  unless with_features_valid? @with_features
    raise ArgumentError, 'with_features must be an array of Feature hashes. Use Featureflow::Feature.create(key, failover_variant)'
  end
end