Sha256: c0294b990ac959bc4042515e96da5d1d2ce609dc71aa79d36f4f01f59ab6ad61

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

Querifier.configure do |config|
  # This is used to identify the filter params, with this configuration the query should be:
  # ?filter[where][field_name]=something&filter[order][field_name]=desc
  config.where_param  = :where
  config.order_param  = :order
  config.filter_param = :filter
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
querifier-0.2.3 lib/generators/querifier/templates/querifier.rb
querifier-0.2.2 lib/generators/querifier/templates/querifier.rb
querifier-0.1.1 lib/generators/querifier/templates/querifier.rb
querifier-0.1.0 lib/generators/querifier/templates/querifier.rb