asciinema.org/app/models/api_token.rb
2014-02-09 14:44:09 +01:00

6 lines
105 B
Ruby

class ApiToken < ActiveRecord::Base
belongs_to :user
validates :user, :token, :presence => true
end