sms-pager/app/models/authentication.rb

5 lines
134 B
Ruby
Raw Permalink Normal View History

2015-10-07 22:03:31 -05:00
class Authentication < ActiveRecord::Base
belongs_to :person
validates :uid, presence: true, uniqueness: { scope: :provider }
2015-10-07 22:03:31 -05:00
end