Class: Decidim::Conferences::ConferencesStatsParticipantsCount
- Inherits:
-
StatsParticipantsCount
- Object
- StatsParticipantsCount
- Decidim::Conferences::ConferencesStatsParticipantsCount
- Defined in:
- app/queries/decidim/conferences/conferences_stats_participants_count.rb
Overview
This class counts unique Participants on a conference
Class Method Summary collapse
Class Method Details
.for(participatory_space) ⇒ Object
7 8 9 10 11 |
# File 'app/queries/decidim/conferences/conferences_stats_participants_count.rb', line 7 def self.for(participatory_space) return 0 unless participatory_space.is_a?(Decidim::Conferences) new(participatory_space).query end |