lib/contentful/resource_builder.rb in contentful-2.1.2 vs lib/contentful/resource_builder.rb in contentful-2.1.3

- old
+ new

@@ -58,10 +58,10 @@ includes = fetch_includes result = json['items'].map do |item| build_item(item, includes) end array_class = fetch_array_class - array_class.new(json.dup.merge('items' => result), default_locale, endpoint) + array_class.new(json.dup.merge('items' => result), @configuration, endpoint) end def build_single includes = @includes_for_single build_item(json, includes)