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.11.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.11.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.10 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.9 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.8 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.7 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.6 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.5 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.4 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.10.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.9.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.9.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.8.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.9.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.8.1 lib/generators/avo/templates/cards/metric_card.tt