Class: Decidim::ConferenceSpeaker
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::ConferenceSpeaker
- Includes:
- HasUploadValidations, Loggable, Publicable, Traceable, TranslatableResource
- Defined in:
- decidim-conferences/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
Methods included from Publicable
#previously_published?, #publish!, #published?, #unpublish!
Methods included from HasUploadValidations
#attached_uploader, #maximum_avatar_size, #maximum_upload_size
Class Method Details
.log_presenter_class_for(_log) ⇒ Object
31 32 33 |
# File 'decidim-conferences/app/models/decidim/conference_speaker.rb', line 31 def self.log_presenter_class_for(_log) Decidim::Conferences::AdminLog::ConferenceSpeakerPresenter end |
Instance Method Details
#twitter_handle ⇒ Object
35 36 37 |
# File 'decidim-conferences/app/models/decidim/conference_speaker.rb', line 35 def twitter_handle attributes["twitter_handle"].to_s.delete("@") end |