Class: Couchbase::Management::BucketManager::CreateBucketOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ CreateBucketOptions

Returns a new instance of CreateBucketOptions.

Yields:

  • (_self)

Yield Parameters:



134
135
136
# File 'lib/couchbase/management/bucket_manager.rb', line 134

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



132
133
134
# File 'lib/couchbase/management/bucket_manager.rb', line 132

def timeout
  @timeout
end