Begin building the framework to rename accounts. A pile of crap right now.
[mailshears.git] / lib / rm / rm_plugin.rb
1 module RmPlugin
2 #
3 # Plugins for the removal of accounts.
4 #
5
6 def delete_domain(domain)
7 # Delete the given domain.
8 raise NotImplementedError
9 end
10
11 def delete_account(account)
12 # Delete the given account.
13 raise NotImplementedError
14 end
15
16 def get_leftover_domains(db_domains)
17 # Given a list of domains, determine which domains belonging to
18 # this plugin are not contained in the given list.
19 raise NotImplementedError
20 end
21
22 def get_leftover_accounts(db_accounts)
23 # Given a list of accounts, determine which accounts belonging to
24 # this plugin are not contained in the given list.
25 raise NotImplementedError
26 end
27 end