Sha256: ee0b6d03cfb424d3712fe227b76e70e5c40b013f7f347d0c8cf29227dc140b25

Contents?: true

Size: 665 Bytes

Versions: 1

Compression:

Stored size: 665 Bytes

Contents

require 'logger'
require 'arii/cashier'
require 'arii/helper'
require 'arii/detector'
require 'arii/csvdetector'
require 'arii/jsondetector'
require 'arii/sqldetector'
require 'arii/xmldetector'
require 'arii/agent'
require 'arii/version'
require 'arii/client'

module ARII
  class Config


    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

    def self.log
      @@log
    end

    def self.host
      @@host
    end

    def self.access_token
      @@access_token
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arii-1.2.2 lib/arii.rb