Initializes a new Cursor
@param attrs [Hash] @param key [String, Symbol] The key to fetch the data from the response @param klass [Class] The class to instantiate objects in the response @param request [Twitter::Request] @return [Twitter::Cursor]
# File lib/twitter/cursor.rb, line 20 def initialize(attrs, key, klass, request) @key = key.to_sym @klass = klass @client = request.client @request_method = request.verb @path = request.path @options = request.options @collection = [] self.attrs = attrs end
Generated with the Darkfish Rdoc Generator 2.