Sha256: f8354da831e4ea421c2352db85be44e752283f9c27f8987a073c136faab12e3d
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
require "rubygems" require "net/telnet" require "active_support/core_ext" require "lacquer/configuration" require "lacquer/cache_utils" require "lacquer/varnish" module Lacquer class VarnishError < Exception; end # @private class << self attr_accessor :configuration # Call this method to modify defaults in your initailizers. # # Lacquer.configure do |config| # config.varnish_servers << { :host => '0.0.0.0', :port => 6082, :timeout => 5 } # end def configure self.configuration ||= Configuration.new yield(configuration) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lacquer-0.4.0 | lib/lacquer.rb |