Module: Yaqb::Base

Defined in:
lib/yaqb/base.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
# File 'lib/yaqb/base.rb', line 7

def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    rescue_from Yaqb::Errors::QueryBuilderError, with: :builder_error
  end
end