lib/zendesk2/paged_collection.rb in zendesk2-1.5.9 vs lib/zendesk2/paged_collection.rb in zendesk2-1.5.10

- old
+ new

@@ -34,9 +34,13 @@ page.to_a.each { |r| yield r } page = page.next_page end end + def all_entries + each_entry.to_a + end + def next_page new_page.all("url" => next_page_link, "filtered" => self.filtered) if next_page_link end def previous_page