diff --git a/.rubocop.yml b/.rubocop.yml index 20785b5..3bf40a9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ # Relaxed.Ruby.Style ## Version 2.1 AllCops: - TargetRubyVersion: 2.7.5 + TargetRubyVersion: 3.0.0 Gemspec/OrderedDependencies: Enabled: false diff --git a/lib/contentful_lite/base_array.rb b/lib/contentful_lite/base_array.rb index 3477bd3..9a0c038 100644 --- a/lib/contentful_lite/base_array.rb +++ b/lib/contentful_lite/base_array.rb @@ -10,6 +10,7 @@ class BaseArray < Delegator # @param raw [Hash] raw response from Contentful API # @api private def initialize(raw) + super @total = raw['total'] @skip = raw['skip'] @limit = raw['limit']