summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-07-19 11:14:43 +0200
committerAzul <azul@leap.se>2013-07-24 10:55:51 +0200
commit34c06b49f26bbffe2e29477f0b55a56a38aa0ce7 (patch)
tree05dce7faac977fd41ce0150b13880bcb4f3cb0fc
parent8ddbaa6184e4dbcc6ef7e81cf555cc18d3822dce (diff)
no need for a remote email class
-rw-r--r--users/app/models/remote_email.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/users/app/models/remote_email.rb b/users/app/models/remote_email.rb
deleted file mode 100644
index 4fe7425..0000000
--- a/users/app/models/remote_email.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class RemoteEmail
- include CouchRest::Model::Embeddable
- include Email
-
- property :email, String
-
- def username
- email.spilt('@').first
- end
-
- def domain
- email.split('@').last
- end
-end