Sha256: 3f58290b78d1e08d1a5b22367d0c685aa23dd97a790f4c33e342ff89d680ed44

Contents?: true

Size: 197 Bytes

Versions: 13

Compression:

Stored size: 197 Bytes

Contents

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

  def query
    result 101
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
avo-3.0.0.pre13 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre12 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre10 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre11 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre8 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre9 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre7 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre5 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre6 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre4 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.0.0.pre1 lib/generators/avo/templates/cards/metric_card.tt