Class: Yammer::Metrics::Gauge

Inherits:
Object
  • Object
show all
Defined in:
lib/multimeter.rb

Direct Known Subclasses

Multimeter::ProcGauge

Instance Method Summary collapse

Instance Method Details

#to_hObject



73
74
75
76
77
78
# File 'lib/multimeter.rb', line 73

def to_h
  {
    :type => :gauge,
    :value => value
  }
end

#typeObject



69
70
71
# File 'lib/multimeter.rb', line 69

def type
  :gauge
end