# File lib/twitter/cursor.rb, line 31
    def initialize(attrs, collection_name, klass, client, method_name, method_options)
      @attrs = attrs
      @client = client
      @method_name = method_name
      @method_options = method_options
      @collection = Array(attrs[collection_name.to_sym]).map do |item|
        if klass
          klass.fetch_or_new(item)
        else
          item
        end
      end
      class_eval do
        alias_method(collection_name.to_sym, :collection)
      end
    end