Class: Couchbase::Management::CollectionManager::CreateCollectionOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/collection_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/collection_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ CreateCollectionOptions

Returns a new instance of CreateCollectionOptions.

Yield Parameters:



164
165
166
# File 'lib/couchbase/management/collection_manager.rb', line 164

def initialize
  yield self if block_given?
end

Instance Attribute Details

#timeoutInteger

Returns the time in milliseconds allowed for the operation to complete.

Returns:

  • (Integer)

    the time in milliseconds allowed for the operation to complete



161
162
163
# File 'lib/couchbase/management/collection_manager.rb', line 161

def timeout
  @timeout
end