Class: Decidim::Identity
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::Identity
- Includes:
- DownloadYourData
- Defined in:
- app/models/decidim/identity.rb
Overview
Store user’s social identities
Class Method Summary collapse
Class Method Details
.export_serializer ⇒ Object
20 21 22 |
# File 'app/models/decidim/identity.rb', line 20 def self.export_serializer Decidim::DownloadYourDataSerializers::DownloadYourDataIdentitySerializer end |
.user_collection(user) ⇒ Object
16 17 18 |
# File 'app/models/decidim/identity.rb', line 16 def self.user_collection(user) where(decidim_user_id: user.id) end |