Sha256: 176f7167e4ee6e43ecf552e521a1aede8af7497c217499e310efb421572ff435

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module PlausibleApi
  module Stats
    class Breakdown < Base
      def initialize(options = {})
        super({period: "30d", property: "event:page"}.merge(options))
      end

      def request_path_base
        "/api/v1/stats/breakdown?site_id=$SITE_ID"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plausible_api-0.4.2 lib/plausible_api/stats/breakdown.rb
plausible_api-0.4.1 lib/plausible_api/stats/breakdown.rb
plausible_api-0.4 lib/plausible_api/stats/breakdown.rb