class DsAdmin::Model::MailAccount
include DsAdmin::Model
attr_accessor :mail, :mailbox
def initialize(args = {})
return if args.empty?
super(args)
@mail = args[:mail]
@home = args[:home]
@mailbox = args[:mailbox]
end
def site
@mail.sub(/.*@/, '')
end
end