include Plugin
- def initialize()
- cfg = Configuration.new()
+ def initialize(cfg)
@db_host = cfg.agendav_dbhost
@db_port = cfg.agendav_dbport
@db_opts = cfg.agendav_dbopts
end
- def describe_account(account)
- if self.user_exists(account)
- return "Username: #{account}"
+ def describe_user(user)
+ if self.user_exists(user)
+ return "Username: #{user}"
else
return 'User not found'
end