Sha256: 962ea4d2082edcdf8e996970c231f2c13f995184e87ace41fb5e9f0512e1d0ac
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 Bytes
Contents
require "apitool/client/version" require "rails" require "rest-client" require "apitool/client/logger" require "apitool/client/apitool_client" require "apitool/client/role" require "apitool/client/api_key" require "apitool/client/vpn" module Apitool module Client def self.logger @logger || Apitool::Client::Logger end def self.logger=(logger) @logger = logger end class Railtie < ::Rails::Railtie initializer :apitool_client do |app| # Apitool::Client.logger = Rails.logger end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apitool-client-0.0.6 | lib/apitool/client.rb |
apitool-client-0.0.5 | lib/apitool/client.rb |
apitool-client-0.0.4 | lib/apitool/client.rb |