Class: Decidim::ConferenceSpeaker

Inherits:
ApplicationRecord
  • Object
show all
Includes:
Loggable, Traceable
Defined in:
app/models/decidim/conference_speaker.rb

Overview

It represents a speaker of the conference Can be linked to an existent user in the platform

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



26
27
28
# File 'app/models/decidim/conference_speaker.rb', line 26

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

Instance Method Details

#twitter_handleObject



30
31
32
# File 'app/models/decidim/conference_speaker.rb', line 30

def twitter_handle
  attributes["twitter_handle"].to_s.delete("@")
end