Sha256: 260666013fe565a43e5eb756955f9025cd6cc907717172da23872f0edb5f0ab7

Contents?: true

Size: 194 Bytes

Versions: 81

Compression:

Stored size: 194 Bytes

Contents

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

  def query
    result 101
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
avo-3.14.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.14.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.14.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.14.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.7 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.6 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.5 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.4 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.13.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.12.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.10 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.9 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.8 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.7 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.6 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.5 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.4 lib/generators/avo/templates/cards/metric_card.tt