summaryrefslogtreecommitdiff
path: root/users/app/models/token.rb
blob: 9de685029f49c33f88a94f95b55fbdecfb59025d (plain)
1
2
3
4
5
6
7
8
9
10
class Token < CouchRest::Model::Base

  use_database :tokens

  property :user_id, String, accessible: false

  validates :user_id, presence: true

end