Module: Yaqb

Defined in:
lib/yaqb.rb,
lib/yaqb/base.rb,
lib/yaqb/config.rb,
lib/yaqb/version.rb,
lib/yaqb/presenter.rb,
lib/yaqb/query_builders/sort.rb,
lib/yaqb/query_builders/filter.rb,
lib/yaqb/query_builders/paginate.rb,
lib/yaqb/errors/query_builder_error.rb,
lib/yaqb/query_builders/query_orchestrator.rb,
lib/yaqb/query_builders/paginators/pagy_helper.rb,
lib/yaqb/query_builders/paginators/kaminari_helper.rb,
lib/yaqb/query_builders/paginators/will_paginate_helper.rb

Defined Under Namespace

Modules: Base, Errors, QueryBuilders Classes: Config, Presenter

Constant Summary collapse

VERSION =
'0.5.4'

Class Method Summary collapse

Class Method Details

.configObject



9
10
11
# File 'lib/yaqb/config.rb', line 9

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



5
6
7
# File 'lib/yaqb/config.rb', line 5

def configure
  yield(config)
end