module PSHBSpool TOPICS = [ { :name => 'JMAXML', :urlpat => %r{^http://xml\.kishou\.go\.jp\/}, :vtoken => '4QJMqZbQ' }, ] STORAGE = { :driver => 'mysql', :srv => 'localhost', :cli => 'localhost', :db => 'pshbspool', :usr => 'pshbspool', :pwd => '0qyxEDgJ' } PRMS = { :urlhook => proc{|s| s.sub!(%r{^http://localhost:80/cgi-bin/backend}, 'http://example.com/xx') }, :resdir => '/usr/local/share/pshbspool', :admintw => 'nobody', } end