module MvPlugin
Plugins for moving (renaming) users. Moving domains is not supported.
Public Class Methods
dummy_runner()
click to toggle source
The “dummy” runner class associated with move plugins.
@return [Class] the {MvDummyRunner} class.
# File lib/mv/mv_plugin.rb, line 23 def self.dummy_runner() return MvDummyRunner end
runner()
click to toggle source
The runner class associated with move plugins.
@return [Class] the {MvRunner} class.
# File lib/mv/mv_plugin.rb, line 14 def self.runner() return MvRunner end
Public Instance Methods
mv_user(src, dst)
click to toggle source
The interface for the “move a user” operation. Subclasses need to implement this method so that it moves (renames) the user src to the user dst.
@param src [User] the source user to be moved.
@param dst [User] the destination user to which we'll move src.
# File lib/mv/mv_plugin.rb, line 36 def mv_user(src, dst) raise NotImplementedError end