Commit 93ed15f9 authored by Jose Ernesto Suarez's avatar Jose Ernesto Suarez

Bugfix

parent 8f6af67d
......@@ -30,7 +30,7 @@ module Wedoops
"x-apikey" => "Af8cbSpgkAReYqBs66DHJUkf2MJW3d9JDFVJhWe4U5haD").get(url)
end
def cobertura(from=Date.today.prev_day.strftime("%Y%m%d"))
def cobertura(all=false)
page=1
limit=50000
date=Date.today.prev_day.strftime("%Y%m%d")
......@@ -65,7 +65,7 @@ module Wedoops
page=1
limit=50000
date=Date.today.prev_day.strftime("%Y%m%d")
#date=Date.parse("01-01-2011").strftime("%Y%m%d") if all
#date=Date.parse("01-01-2011").strftime("%Y%m%d") if all`
resultado_final=Array.new
r=Array.new
loop do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment