Sha256: 0b4580d8996574158368317acb51077ea12f7cfab71a7e89da74cafc1a497ee5

Contents?: true

Size: 527 Bytes

Versions: 1

Compression:

Stored size: 527 Bytes

Contents

require "apitool/client/version"

require "rails"
require "rest-client"
require "apitool/client/logger"

require "apitool/client/apitool_client"
require "apitool/client/vpn"
require "apitool/client/backup"

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

1 entries across 1 versions & 1 rubygems

Version Path
apitool-client-2.0.0 lib/apitool/client.rb