Module: CleanQueryParams::Dsl
- Defined in:
- lib/clean_query_params.rb
Overview
Module containing macros (class methods).
Instance Method Summary collapse
Instance Method Details
#defaults(options = {}) ⇒ Object
59 60 61 |
# File 'lib/clean_query_params.rb', line 59 def defaults( = {}) self._defaults = end |
#queryable_by(*keys) ⇒ Object
63 64 65 |
# File 'lib/clean_query_params.rb', line 63 def queryable_by(*keys) self._valid_query_keys = Set.new(keys) end |