Class: Decidim::Conferences::Partner

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

Overview

It represents a partner of the conference

Constant Summary collapse

TYPES =
%w(main_promotor collaborator).freeze

Class Method Summary collapse

Methods included from HasUploadValidations

#maximum_avatar_size, #maximum_upload_size

Class Method Details

.log_presenter_class_for(_log) ⇒ Object


24
25
26
# File 'decidim-conferences/app/models/decidim/conferences/partner.rb', line 24

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