Sha256: 38655b8a5bece312f4bc04f6c9e5da71fe9a0a5de0529b3cbe8c7a42aa8c1d71
Contents?: true
Size: 863 Bytes
Versions: 4
Compression:
Stored size: 863 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) # External Libs require 'openssl' require 'json' require 'uri' require 'faraday' require 'faraday_middleware' require 'logger' require 'resolv' # Internal Libs require 'lumberg/format_whm' require 'lumberg/version' require 'lumberg/exceptions' require 'lumberg/config' require 'lumberg/whm' require 'lumberg/cpanel' module Lumberg extend self attr_accessor :configuration def base_path File.dirname(__FILE__) end self.configuration ||= Lumberg::Config.new # Specificy the config via block # # ==== Attributes # # * +debug+ - Set to true to log debug info to $stderr, or a file path # # ==== Example # # Lumberg.config do |c| # c.dubug "path/to/file.log" # end def config yield self.configuration if block_given? self.configuration.options end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lumberg-2.0.0.pre6 | lib/lumberg.rb |
lumberg-2.0.0.pre5 | lib/lumberg.rb |
lumberg-2.0.0.pre4 | lib/lumberg.rb |
lumberg-2.0.0.pre3 | lib/lumberg.rb |