Module: Mobility::Plugins::Query

Extended by:
Mobility::Plugin
Defined in:
lib/mobility/plugins/query.rb

Overview

See Also:

  • or {Mobility::Plugins::Sequel::Query}.

Instance Method Summary collapse

Methods included from Mobility::Plugin

configure, configure_default, default, dependencies, dependencies_satisfied?, included, included_hook, initialize_hook, requires

Instance Method Details

#query_methodObject



15
16
17
# File 'lib/mobility/plugins/query.rb', line 15

def query_method
  (options[:query] == true) ? self.class.defaults[:query] : options[:query]
end