lib/twitter/cursor.rb in twitter-5.17.0 vs lib/twitter/cursor.rb in twitter-6.0.0
- old
+ new
@@ -42,10 +42,10 @@
next_cursor.zero?
end
# @return [Hash]
def fetch_next_page
- response = Twitter::REST::Request.new(@client, @request_method, @path, @options.merge(:cursor => next_cursor)).perform
+ response = Twitter::REST::Request.new(@client, @request_method, @path, @options.merge(cursor: next_cursor)).perform
self.attrs = response
end
# @param attrs [Hash]
# @return [Hash]