Object
@param client [Twitter::Client] @param request_method [String, Symbol] @param path [String] @param options [Hash] @return [Twitter::Request]
# File lib/twitter/request.rb, line 13 def initialize(client, request_method, path, options = {}) @client = client @request_method = request_method.to_sym @path = path @options = options end
@return [Hash]
# File lib/twitter/request.rb, line 21 def perform @client.send(@request_method, @path, @options).body end
@param collection_name [Symbol] @param klass [Class] @return [Twitter::Cursor]
# File lib/twitter/request.rb, line 35 def perform_with_cursor(collection_name, klass = nil) Twitter::Cursor.new(perform, collection_name.to_sym, klass, self) end
Generated with the Darkfish Rdoc Generator 2.