Method: InfluxDB2::WriteApi::BatchItemKey#initialize

Defined in:
lib/influxdb2/client/write_api.rb

#initialize(bucket, org, precision = DEFAULT_WRITE_PRECISION) ⇒ BatchItemKey

Returns a new instance of BatchItemKey.



228
229
230
231
232
# File 'lib/influxdb2/client/write_api.rb', line 228

def initialize(bucket, org, precision = DEFAULT_WRITE_PRECISION)
  @bucket = bucket
  @org = org
  @precision = precision
end