]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/common/plugin.rb
1 # All plugins should include this module. It defines the basic
2 # operations that all plugins are supposed to support.
6 # Callback, called whenever another class or module includes this
7 # one. The parameter given is the name of the class or module
17 def describe_domain(domain
)
18 # Provide a "description" of the domain. This is output along
19 # with the domain name and can be anything of use to the system
21 raise NotImplementedError
24 def describe_account(account
)
25 # Provide a "description" of the account. This is output along
26 # with the domain name and can be anything of use to the system
28 raise NotImplementedError