"http://api.pathtraq.com/page_counter"
[:m, :url]
82 83 84 85 86 87 88 89 90
# File 'lib/pathtraq.rb', line 82 def self.request(params) params[:api] = "json" res = Request.new(URL, params).send if md = /count:\s*(\d+)/.match(res) md[1].to_i else raise Error.new(res, params) end end