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.11.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.10.3.pre.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.10.2 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.2.pre1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.10.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre7 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre6 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre5 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre4 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre3 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre2 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.1.pre1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.9.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.8.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.7.1.pre.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.7.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.6.1.pre.2 lib/generators/avo/templates/cards/metric_card.tt
avo-2.6.1.pre.1 lib/generators/avo/templates/cards/metric_card.tt
avo-2.6.0 lib/generators/avo/templates/cards/metric_card.tt
avo-2.5.2.pre.1 lib/generators/avo/templates/cards/metric_card.tt