lib/google_otg.rb in google_otg-1.1.0 vs lib/google_otg.rb in google_otg-1.1.1
- old
+ new
@@ -6,11 +6,10 @@
module GoogleOtg
include HTTParty
@@DEFAULT_INCREMENT = 1 # 1 day
- module Helper
def date_range
tr = self.setup_time_range
tr[:lower_bound].strftime("%m/%d/%Y") + " - " + tr[:upper_bound].strftime("%m/%d/%Y")
end
@@ -38,11 +37,10 @@
eos
return html
end
- end
def over_time_graph_download(results, type, title, legend)
tr = self.setup_time_range
if type == :csv
@@ -515,6 +513,5 @@
} # end graph
} # end options
return URI::encode(options.to_json)
end
end
-