Module: Querifier::Config

Defined in:
lib/querifier/config.rb

Constant Summary collapse

DEFAULTS_CONFIGS =
{
  where_param: :where,
  order_param: :order,
  filter_param: :filter
}.freeze

Class Method Summary collapse

Class Method Details

.reset!Object

This is mostly useful for the tests



22
23
24
# File 'lib/querifier/config.rb', line 22

def reset!
  DEFAULTS_CONFIGS.each { |k, v| send("#{k}=", v) }
end