lib/one2influx/config.rb
def prepare_storage_ids
    @@storage.each do |object, values|
      id_name = "#{object.to_s.upcase}_ID"
      values[:tags][id_name.to_sym] = 'ID'
    end
  end
# Adds obligatory ID tag to all storage objects in form OBJ_ID, where OBJ is
# object name. Therefore OneObjects will always have at least one tag, ID.
Adds obligatory ID tag to all storage objects in form OBJ_ID, where OBJ is
object name. Therefore OneObjects will always have at least one tag, ID.
Adds obligatory ID tag to all storage objects in form OBJ_ID where OBJ is object name . Therefore OneObjects will always have at least one tag ID .
def prepare_storage_ids
    @@storage.each do |object, values|
      id_name = "#{object.to_s.upcase}_ID"
      values[:tags][id_name.to_sym] = 'ID'
    end
  end
def prepare_storage_ids @@storage . each do | object , values | id_name = "#{object.to_s.upcase}_ID" values [ :tags ] [ id_name . to_sym ] = 'ID' end end
Adds obligatory ID tag to all storage objects in form OBJ_ID, where OBJ is
object name.
Adds obligatory ID tag to all storage objects in form OBJ_ID where OBJ is object name .