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
42 43 44 45 46 47 |
# File 'lib/multimeter.rb', line 42 def to_h { :type => :counter, :count => count } end |
#type ⇒ Object
38 39 40 |
# File 'lib/multimeter.rb', line 38 def type :counter end |