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

Inherits:
Object
  • Object
show all
Defined in:
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:



157
158
159
# File 'lib/couchbase/management/collection_manager.rb', line 157

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



154
155
156
# File 'lib/couchbase/management/collection_manager.rb', line 154

def timeout
  @timeout
end