Class: Decidim::ConferenceUserRole

Inherits:
ApplicationRecord
  • Object
show all
Includes:
Loggable, ParticipatorySpaceUser, Traceable
Defined in:
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.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



19
20
21
# File '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 'app/models/decidim/conference_user_role.rb', line 17

def target_space_association = :conference