Class: Connectator::Oracle::Connection

Inherits:
Base::Connection show all
Includes:
UsingDBIProxy
Defined in:
lib/connectator/oracle/connection.rb

Instance Attribute Summary

Attributes inherited from Base::Connection

#error

Instance Method Summary collapse

Methods inherited from Base::Connection

#connection_params, #initialize, #method_missing, #ping?, #valid?, #valid_system_connection?

Constructor Details

This class inherits a constructor from Connectator::Base::Connection

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Connectator::Base::Connection

Instance Method Details

#connection_stringObject



6
7
8
# File 'lib/connectator/oracle/connection.rb', line 6

def connection_string
  "DBI:OCI8://#{connection_params.server}:#{connection_params.port}/#{connection_params.instance}"
end