d85f5c58cad4e19ea4047b29acc10d50337836d2 — Anthony 6 years ago 6d4333e
added an support for the pageStart parameter so users can query multiple pages of wufoo data, and remove pageStart = 0 so that the pageSize parameter can be used with PageStart
1 files changed, 4 insertions(+), 1 deletions(-)

M lib/wuparty.rb
M lib/wuparty.rb => lib/wuparty.rb +4 -1
@@ 300,7 300,10 @@
 
       if options[:limit]
         query[:pageSize] = options[:limit]
-        query[:pageStart] = 0
+      end
+
+      if options[:pageStart]
+        query[:pageStart] = options[:pageStart]
       end
 
       if options[:system]