Class: Decidim::ConferenceUserRole

Inherits:
ApplicationRecord show all
Includes:
Loggable, ParticipatorySpaceUser, Traceable
Defined in:
decidim-conferences/app/models/decidim/conference_user_role.rb

Overview

Defines a relation between a user and a Conference, and what kind of relation does the user have.

Constant Summary

Constants included from ParticipatorySpaceUser

ParticipatorySpaceUser::ROLES

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



19
20
21
# File 'decidim-conferences/app/models/decidim/conference_user_role.rb', line 19

def self.log_presenter_class_for(_log)
  Decidim::Conferences::AdminLog::ConferenceUserRolePresenter
end

Instance Method Details

#target_space_associationObject



17
# File 'decidim-conferences/app/models/decidim/conference_user_role.rb', line 17

def target_space_association = :conference