Sha256: 3a9baac0e58669521181107a7a724ab7276ac556d85932250d959fc7ebeef216

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 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/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

1 entries across 1 versions & 1 rubygems

Version Path
influxer-0.2.4 lib/influxer.rb