Module: ActiveRecord::ConnectionHandling

Defined in:
lib/active_record/connection_adapters/pinot_adapter.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#pinot_adapter_classObject



5
6
7
# File 'lib/active_record/connection_adapters/pinot_adapter.rb', line 5

def pinot_adapter_class
  ConnectionAdapters::PinotAdapter
end

#pinot_connection(config) ⇒ Object



9
10
11
# File 'lib/active_record/connection_adapters/pinot_adapter.rb', line 9

def pinot_connection(config)
  pinot_adapter_class.new(config)
end