- @db_host = cfg.davical_dbhost
- @db_port = cfg.davical_dbport
- @db_opts = cfg.davical_dbopts
- @db_tty = cfg.davical_dbtty
- @db_name = cfg.davical_dbname
- @db_user = cfg.davical_dbuser
- @db_pass = cfg.davical_dbpass
- end
-
-
- def describe_domain(domain)
- # DAViCal doesn't have a concept of domains.
- return domain.to_s()
+ @db_hash = {
+ :host => cfg.davical_dbhost,
+ :port => cfg.davical_dbport,
+ :options => cfg.davical_dbopts,
+ :tty => cfg.davical_dbtty,
+ :dbname => cfg.davical_dbname,
+ :user => cfg.davical_dbuser,
+ :password => cfg.davical_dbpass }