Sha256: 23a4439aa313d3559cf10ea98cf6daad0bbe34168512109307382da50d7f95bd
Contents?: true
Size: 714 Bytes
Versions: 2
Compression:
Stored size: 714 Bytes
Contents
# frozen_string_literal: true require "decidim/comparative_stats/admin" require "decidim/comparative_stats/engine" require "decidim/comparative_stats/admin_engine" require "chartkick" module Decidim # This namespace holds the logic of the `ComparativeStats` component. This component # allows users to create comparative_stats in a participatory space. module ComparativeStats include ActiveSupport::Configurable autoload :ApiFetcher, "decidim/comparative_stats/api_fetcher" autoload :CachedHTTPAdapter, "decidim/comparative_stats/cached_http_adapter" # Sets the expiration time for the statistic data. config_accessor :stats_cache_expiration_time do 24.hours end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-comparative_stats-1.1.0 | lib/decidim/comparative_stats.rb |
decidim-comparative_stats-1.0.1 | lib/decidim/comparative_stats.rb |