Module: Ghaki::Account::DB_Driver

Extended by:
SynOpts
Included in:
Database
Defined in:
lib/ghaki/account/db_driver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SynOpts

attr_syn_opts

Instance Attribute Details

#db_driverObject

Returns the value of attribute db_driver.



11
12
13
# File 'lib/ghaki/account/db_driver.rb', line 11

def db_driver
  @db_driver
end

Instance Method Details

#valid_db_driver?Boolean


Returns:

  • (Boolean)


14
15
16
17
18
# File 'lib/ghaki/account/db_driver.rb', line 14

def valid_db_driver?
  return false if @db_driver.nil?
  return false if @db_driver.empty?
  return true
end