Sha256: 5cc6a93bf02174ef45bb695e2e8f7321b879753f45d93156e994158cd3af5307

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

require "influxdb"

module Influxer
  # InfluxDB API client
  class Client < ::InfluxDB::Client
    def initialize
      super Influxer.config.to_h.symbolize_keys
    end

    def time_precision
      @config.time_precision
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
influxer-1.3.0 lib/influxer/client.rb