Module: Puppet::ReportAllTheThings::MetricMixin

Included in:
Util::Metric
Defined in:
lib/puppet/reportallthethings/helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_data_hash



23
24
25
26
27
28
29
# File 'lib/puppet/reportallthethings/helper.rb', line 23

def to_data_hash
  {
    'name' => @name,
    'label' => @label,
    'values' => @values
  }
end