lib/contentful/management/array.rb in contentful-management-1.10.1 vs lib/contentful/management/array.rb in contentful-management-2.0.0

- old
+ new

@@ -9,16 +9,16 @@ class Array # @private DEFAULT_LIMIT = 100 include Contentful::Management::Resource - include Contentful::Management::Resource::SystemProperties include Contentful::Management::Resource::ArrayLike + include Contentful::Management::Resource::SystemProperties + property :items + property :skip, :integer property :total, :integer property :limit, :integer - property :skip, :integer - property :items # Simplifies pagination def next_page if request new_skip = (skip || 0) + (limit || DEFAULT_LIMIT)