lib/braintree/paginated_collection.rb in braintree-4.15.0 vs lib/braintree/paginated_collection.rb in braintree-4.16.0

- old
+ new

@@ -1,9 +1,9 @@ module Braintree - class PaginatedCollection # :nodoc: + class PaginatedCollection include Enumerable - def initialize(&block) # :nodoc: + def initialize(&block) @next_page_block = block end def each(&block) current_page = 0