Sha256: 7ad1fde8001a242c6b8065c1675e68514cd630cced086ef923aa0de5c9518f61

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

require 'influxer/version'

module Influxer
  require 'influxer/config'
  require 'influxer/client'
  require 'influxer/metrics/metrics'
  require 'influxer/metrics/relation'

  module Model
    require 'influxer/model'
  end

  require 'influxer/engine'

  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
    @config = nil
    @client = nil
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
influxer-0.1.2 lib/influxer.rb
influxer-0.1.1 lib/influxer.rb
influxer-0.1.0 lib/influxer.rb
influxer-0.0.1 lib/influxer.rb