module GovukMirrorer
Constants
- VERSION
Public Class Methods
run()
click to toggle source
# File lib/govuk_mirrorer.rb, line 10 def self.run crawler = Crawler.new(Configurer.run(ARGV)) crawler.crawl end
statsd()
click to toggle source
# File lib/govuk_mirrorer/statsd.rb, line 4 def self.statsd host = "localhost" || ENV["STATSD_HOST"] port = 8125 || ENV["STATSD_PORT"] Statsd.new(host, port) end