Class: Apnotic::ConnectionPool
- Inherits:
-
Object
- Object
- Apnotic::ConnectionPool
- Defined in:
- lib/apnotic/connection_pool.rb
Class Method Summary collapse
- .development(options = {}, pool_options = {}) ⇒ Object
- .new(options = {}, pool_options = {}) ⇒ Object
Class Method Details
.development(options = {}, pool_options = {}) ⇒ Object
14 15 16 17 18 |
# File 'lib/apnotic/connection_pool.rb', line 14 def development(={}, ={}) ::ConnectionPool.new() do Apnotic::Connection.development() end end |
.new(options = {}, pool_options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/apnotic/connection_pool.rb', line 8 def new(={}, ={}) ::ConnectionPool.new() do Apnotic::Connection.new() end end |