Sha256: d49d2b18e064132873733747bf8e51af8000a2b83582e462e1937c246b41e981
Contents?: true
Size: 596 Bytes
Versions: 7
Compression:
Stored size: 596 Bytes
Contents
require 'influxer/version' # Rails client for InfluxDB module Influxer require 'influxer/config' require 'influxer/client' require 'influxer/metrics/metrics' module Model # :nodoc: require 'influxer/model' end require 'influxer/rails/client' if defined?(Rails) require 'influxer/engine' if defined?(Rails) def self.config @config ||= Config.new end def self.configure yield(config) if block_given? end def self.client @client ||= Client.new end def self.reset! @client.stop! unless @client.nil? @config = nil @client = nil end end
Version data entries
7 entries across 7 versions & 1 rubygems