Module: Mobility::Plugins::Query

Defined in:
lib/mobility/plugins/query.rb

Overview

See Also:

  • {Mobility{Mobility::Plugins{Mobility::Plugins::ActiveRecord{Mobility::Plugins::ActiveRecord::Query}

Class Method Summary collapse

Class Method Details

.apply(attributes, option) ⇒ Object


11
12
13
14
15
# File 'lib/mobility/plugins/query.rb', line 11

def apply(attributes, option)
  if option
    include_query_module(attributes)
  end
end