houdini/app/models/full_contact_social_profile.rb

15 lines
400 B
Ruby
Raw Normal View History

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class FullContactSocialProfile < ApplicationRecord
attr_accessible \
:full_contact_info,
:full_contact_info_id,
:type_id, # i.e. twitter, linkedin, facebook
:username, #string
:uid, # string
:bio, #string
:url #string
belongs_to :full_contact_info
validates_presence_of :full_contact_info
end