Class: Yammer::Metrics::Counter
- Inherits:
-
Object
- Object
- Yammer::Metrics::Counter
- Defined in:
- lib/multimeter.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
45 46 47 48 49 50 |
# File 'lib/multimeter.rb', line 45 def to_h { :type => :counter, :count => count } end |
#type ⇒ Object
41 42 43 |
# File 'lib/multimeter.rb', line 41 def type :counter end |