Sha256: f2303dd0f01c5636cbc511e9270ff34c4f6f922bfddcbcdc3b4280aaece7479d
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
require 'logger' require 'i2x/cashier' require 'i2x/helper' require 'i2x/detector' require 'i2x/csvdetector' require 'i2x/jsondetector' require 'i2x/sqldetector' require 'i2x/xmldetector' require 'i2x/agent' require 'i2x/version' require 'i2x/client' module I2X class Config class << self attr_accessor :log, :host, :access_token end def self.set_log log @@log = log end def self.set_host host host << '/' unless host.end_with?('/') @@host = host end def self.set_access_token api_key @@access_token = api_key end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i2x-0.0.7 | lib/i2x.rb |