Sha256: f0b51c1765d6d7bef71745931f2d8e9200df32f2c581a431197797d31e89c635
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
require 'net/telnet' require 'active_support/time' require 'lacquer/configuration' require 'lacquer/cache_utils' require 'lacquer/varnish_interface' module Lacquer class VarnishError < Exception; end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lacquer-0.2.0 | lib/lacquer.rb |
lacquer-0.1.0 | lib/lacquer.rb |