Class: Db2Query::Base

Inherits:
Object
  • Object
show all
Includes:
Config, Core, DbConnection, FieldType, Helper
Defined in:
lib/db2_query/base.rb

Constant Summary

Constants included from FieldType

FieldType::DEFAULT_FIELD_TYPES

Constants included from Config

Config::DEFAULT_ENV

Class Method Summary collapse

Methods included from Core

included

Methods included from FieldType

included

Methods included from DbConnection

included

Methods included from Helper

included

Methods included from Config

included

Class Method Details

.establish_connectionObject



15
16
17
18
# File 'lib/db2_query/base.rb', line 15

def self.establish_connection
  load_database_configurations
  new_database_connection
end

.inherited(subclass) ⇒ Object



11
12
13
# File 'lib/db2_query/base.rb', line 11

def self.inherited(subclass)
  subclass.define_query_definitions
end