lib/cloudflare/paginate.rb in cloudflare-4.1.2 vs lib/cloudflare/paginate.rb in cloudflare-4.1.3
- old
+ new
@@ -35,10 +35,10 @@
end
page += 1
# Was this the last page?
- break if zones.value.count < per_page
+ break if zones.value.size < per_page
end
end
def empty?
self.value.empty?