summaryrefslogtreecommitdiff
path: root/users/app/models/identity.rb
blob: c9c8b73bc01b66a9bd2f37658f02dde082870acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class Identity < CouchRest::Model::Base

  use_database :identities

  belongs_to :user

  property :address, LocalEmail
  property :destination, Email

  design do
    view :by_user_id
  end
end