Module: UnifiedDB::Backend

Defined in:
lib/unified_db/backend.rb,
lib/unified_db/backend/base.rb,
lib/unified_db/backend/imdb.rb,
lib/unified_db/backend/tvdb.rb

Defined Under Namespace

Classes: Base, IMDB, TVDB

Constant Summary collapse

AVAILABLE =
{
  'imdb' => Backend::IMDB,
  'tvdb' => Backend::TVDB
}

Class Method Summary collapse

Class Method Details

.select(name) ⇒ Object



13
14
15
# File 'lib/unified_db/backend.rb', line 13

def self.select(name)
  AVAILABLE[name.to_s]
end