Method: Moped::Protocol::GetMore#initialize
- Defined in:
- lib/moped/protocol/get_more.rb
#initialize(database, collection, cursor_id, limit, options = {}) ⇒ GetMore
Create a new GetMore command. The database and collection arguments are joined together to set the full_collection_name.
100 101 102 103 104 105 106 107 |
# File 'lib/moped/protocol/get_more.rb', line 100 def initialize(database, collection, cursor_id, limit, = {}) @database = database @collection = collection @full_collection_name = "#{database}.#{collection}" @cursor_id = cursor_id @limit = limit @request_id = [:request_id] end |