lib/intermodal/concerns/models/accountability.rb
# API: overrideable
# Use this to extend Get
overrideable
Use this to extend Get
overrideable Use this to extend Get
def build_get_query(_query, opts)
          _query = _query.by_account(opts[:account]) if opts[:account]
          _query = _query.by_account_id(opts[:account_id]) if opts[:account_id]
          return _query
        end
def build_get_query ( _query , opts ) _query = _query . by_account ( opts [ :account ] ) if opts [ :account ] _query = _query . by_account_id ( opts [ :account_id ] ) if opts [ :account_id ] return _query end
API: overrideable
Use this to extend Get
API : overrideable Use this to extend Get
_query
opts