summaryrefslogtreecommitdiff
path: root/app/models/invite_code.rb
blob: 751b28e64799b311108746670bf85da10b580aef (plain)
1
2
3
4
5
6
7
8
9
10
class InviteCode < CouchRest::Model::Base
  use_database 'invite_codes'
  property :invite_code, String
  timestamps!

  design do
    view :by_invite_code
  end
end