Sha256: 67c1464aae6d7a85225121023d84eafe2a1c920be1e687a506e90320b6cb3fc0

Contents?: true

Size: 280 Bytes

Versions: 15

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module PandaCms
  module Admin
    class StatisticsComponent < ViewComponent::Base
      attr_reader :metric
      attr_reader :value

      def initialize(metric:, value:)
        @metric = metric
        @value = value
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
panda_cms-0.6.3 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.6.2 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.6.1 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.6.0 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.10 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.9 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.8 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.7 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.6 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.5 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.4 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.3 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.2 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.1 app/components/panda_cms/admin/statistics_component.rb
panda_cms-0.5.0 app/components/panda_cms/admin/statistics_component.rb