include Runner
def run(plugin, src, dst)
- if src.include?('@') then
- puts "Would move account: #{src} to #{dst}"
- else
- puts "Would move domain: #{src} to #{dst}"
+
+ if src.is_a?(Domain) or dst.is_a?(Domain) then
+ msg = 'only users can be moved'
+ raise NotImplementedError.new(msg)
end
+
+ puts "Would move user #{src.to_s()} to #{dst.to_s()}."
end
end