Module: Alephant::Lookup
- Includes:
- Logger
- Defined in:
- lib/alephant/lookup.rb,
lib/alephant/lookup/version.rb,
lib/alephant/lookup/lookup_cache.rb,
lib/alephant/lookup/lookup_query.rb,
lib/alephant/lookup/lookup_table.rb,
lib/alephant/lookup/lookup_helper.rb,
lib/alephant/lookup/lookup_location.rb
Defined Under Namespace
Classes: LookupCache, LookupHelper, LookupLocation, LookupQuery, LookupTable, NullClient
Constant Summary collapse
- VERSION =
"2.0.2".freeze
- @@lookup_tables =
{}
Class Method Summary collapse
Class Method Details
.create(table_name, config = {}) ⇒ Object
12 13 14 15 |
# File 'lib/alephant/lookup.rb', line 12 def self.create(table_name, config={}) @@lookup_tables[table_name] ||= LookupTable.new(table_name) LookupHelper.new(@@lookup_tables[table_name], config) end |