summaryrefslogtreecommitdiff
path: root/app/models/invite_code.rb
blob: b9f6f33430972054d5948d646d4956cb36045a9a (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__id
  end
end