Class: InfluxDB::Rails::Tags
- Inherits:
-
Object
- Object
- InfluxDB::Rails::Tags
- Defined in:
- lib/influxdb/rails/tags.rb
Instance Method Summary collapse
-
#initialize(config:, tags: {}, additional_tags: InfluxDB::Rails.current.tags) ⇒ Tags
constructor
A new instance of Tags.
- #to_h ⇒ Object
Constructor Details
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 |
# File 'lib/influxdb/rails/tags.rb', line 10 def to_h .reject do |_, value| value.to_s.blank? end end |