Class: AnalyticDBConnectionPool

Inherits:
SimpleCache show all
Includes:
Singleton
Defined in:
lib/analytic_db_connection_pool.rb

Instance Method Summary collapse

Methods inherited from SimpleCache

#bust, #get, #initialize

Constructor Details

This class inherits a constructor from SimpleCache

Instance Method Details

#new_object(role) ⇒ Object



4
5
6
7
# File 'lib/analytic_db_connection_pool.rb', line 4

def new_object(role)
  config = ANALYTIC_DB_CONFIG[role]
  AnalyticDBConnectionFactory.for(config)
end