lib/gitlab/paginated_response.rb in gitlab-3.6.1 vs lib/gitlab/paginated_response.rb in gitlab-3.7.0
- old
+ new
@@ -21,11 +21,11 @@
else
super
end
end
- def respond_to?(method, include_all=false)
- super || @array.respond_to?(method, include_all)
+ def respond_to_missing?(method_name, include_private = false)
+ super || @array.respond_to?(method_name, include_private)
end
def parse_headers!(headers)
@links = PageLinks.new headers
end