lib/twitter/cursor.rb in twitter-5.11.0 vs lib/twitter/cursor.rb in twitter-5.12.0
- old
+ new
@@ -3,13 +3,14 @@
module Twitter
class Cursor
include Twitter::Enumerable
include Twitter::Utils
+ # @return [Hash]
attr_reader :attrs
alias_method :to_h, :attrs
- deprecate_alias :to_hash, :to_h
- deprecate_alias :to_hsh, :to_h
+ alias_method :to_hash, :to_h
+ deprecate_alias :to_hsh, :to_hash
# Initializes a new Cursor
#
# @param attrs [Hash]
# @param key [String, Symbol] The key to fetch the data from the response