Sha256: af485c89b5777a54030ceff71f2be72b9aecc654e1c7fdc767ed8227fcbfc04c

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

require 'logger'
require 'arii/cashier'
require 'arii/helper'
require 'arii/detector'
require 'arii/csvdetector'
require 'arii/exceldetector'
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

4 entries across 4 versions & 1 rubygems

Version Path
arii-1.8 lib/arii.rb
arii-1.7 lib/arii.rb
arii-1.6 lib/arii.rb
arii-1.5 lib/arii.rb