b20532f3f026581c207d4d459e0771cd74363ad2 — Tim Morgan 6 years ago 6d4333e + d85f5c5
Merge pull request #14 from amrocco/master

Added support for the pageStart parameter
1 files changed, 4 insertions(+), 1 deletions(-)

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