]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/common/mailstore.rb
Factor out common code that can be used to mv (rename) accounts.
[mailshears.git] / lib / common / mailstore.rb
diff --git a/lib/common/mailstore.rb b/lib/common/mailstore.rb
new file mode 100644 (file)
index 0000000..19772d3
--- /dev/null
@@ -0,0 +1,20 @@
+class Mailstore
+
+  attr_accessor :domain_root
+
+  def def get_domains_from_filesystem
+    raise NotImplementedError
+  end
+
+  def get_accounts_from_filesystem(domains)
+    raise NotImplementedError
+  end
+
+  def get_domain_path(domain)
+    raise NotImplementedError
+  end
+
+  def get_account_path(account)
+    raise NotImplementedError
+  end
+end