Sha256: d9936d0599f945a0e17fa7223eef908e86dba61412592a5701ffa10355424aec

Contents?: true

Size: 187 Bytes

Versions: 160

Compression:

Stored size: 187 Bytes

Contents

class <%= class_name.camelize %> < Avo::Dashboards::MetricCard
  self.id = "<%= name.underscore %>"
  self.label = "<%= name.underscore.humanize %>"

  def query
    result 101
  end
end

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
avo-2.28.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.27.2.pre.pr1606 lib/generators/avo/templates/cards/metric_card.tt
avo-2.27.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.27.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.26.3.pre.pr1601 lib/generators/avo/templates/cards/metric_card.tt
avo-2.26.2.pre.pr1579 lib/generators/avo/templates/cards/metric_card.tt
avo-2.26.1.pr1584.pre.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.25.1.pre.1.pr1579 lib/generators/avo/templates/cards/metric_card.tt
avo-2.26.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.25.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.24.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.24.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.23.3.pre.1.pr1529 lib/generators/avo/templates/cards/metric_card.tt
avo-2.23.2 lib/generators/avo/templates/cards/metric_card.tt
avo-2.23.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.23.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.22.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.21.3.pre.pr1489 lib/generators/avo/templates/cards/metric_card.tt
avo-2.21.2.pre.pr1486 lib/generators/avo/templates/cards/metric_card.tt
avo-2.21.1.pre.pr1484 lib/generators/avo/templates/cards/metric_card.tt