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.8.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.6.4 lib/generators/avo/templates/cards/metric_card.tt
avo-3.6.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.6.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.6.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.6.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.8 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.7 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.6 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.6.beta1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.5 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.4 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.1 lib/generators/avo/templates/cards/metric_card.tt
avo-3.5.0 lib/generators/avo/templates/cards/metric_card.tt
avo-3.4.4 lib/generators/avo/templates/cards/metric_card.tt
avo-3.4.3 lib/generators/avo/templates/cards/metric_card.tt
avo-3.4.2 lib/generators/avo/templates/cards/metric_card.tt
avo-3.4.1 lib/generators/avo/templates/cards/metric_card.tt