lib/paypal/report.rb in paypal-report-0.1.1 vs lib/paypal/report.rb in paypal-report-0.1.2
- old
+ new
@@ -33,10 +33,9 @@
end_date = Date.parse(end_date) if end_date.is_a?(String)
end_date = end_date.to_date if end_date.is_a?(Time)
data = []
while(start_date <= end_date)
- puts start_date.strftime("%Y-%m-%d")
data += daily(start_date, page_size)
start_date = start_date.next_day
end
data
end