demarches-normaliennes/app/models/france_connect_information.rb
2020-08-12 11:45:53 +02:00

21 lines
730 B
Ruby

# == Schema Information
#
# Table name: france_connect_informations
#
# id :integer not null, primary key
# birthdate :date
# birthplace :string
# email_france_connect :string
# family_name :string
# gender :string
# given_name :string
# created_at :datetime
# updated_at :datetime
# france_connect_particulier_id :string
# user_id :integer
#
class FranceConnectInformation < ApplicationRecord
belongs_to :user
validates :france_connect_particulier_id, presence: true, allow_blank: false, allow_nil: false
end