lib/loquor/api_calls/index.rb in loquor-0.1.0 vs lib/loquor/api_calls/index.rb in loquor-0.1.1
- old
+ new
@@ -21,9 +21,10 @@
results.send(name, *args, &block)
end
def find_each
page = 1
+ per = 200
results = []
begin
results = Loquor.get("#{generate_url}&page=#{page}&per=#{per}")
results.each do |result|
yield result