Class: Decidim::StatsFollowersCount
- Defined in:
- app/queries/decidim/stats_followers_count.rb
Instance Method Summary collapse
-
#initialize(participatory_space) ⇒ StatsFollowersCount
constructor
A new instance of StatsFollowersCount.
- #query ⇒ Object
Methods inherited from Query
#cached_query, #each, #eager?, #exists?, merge, #none?, #relation?, #|
Constructor Details
#initialize(participatory_space) ⇒ StatsFollowersCount
Returns a new instance of StatsFollowersCount.
5 6 7 |
# File 'app/queries/decidim/stats_followers_count.rb', line 5 def initialize(participatory_space) @participatory_space = participatory_space end |
Instance Method Details
#query ⇒ Object
9 10 11 |
# File 'app/queries/decidim/stats_followers_count.rb', line 9 def query space_query + components_query end |