Method: SimpleMetrics::Instrument#attributes
- Defined in:
- lib/simple_metrics/instrument.rb
#attributes ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/simple_metrics/instrument.rb', line 15 def attributes { :id => @id.to_s, # convert bson id to str :name => @name, :renderer => @renderer, :metrics => @metrics, :created_at => @created_at, :updated_at => @updated_at } end |