Class: Couchbase::Management::Options::Analytics::CreateDataverse
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Analytics::CreateDataverse
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb
Overview
Options for AnalyticsIndexManager#create_dataverse
Instance Attribute Summary collapse
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(ignore_if_exists: false, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ CreateDataverse
constructor
Creates an instance of options for AnalyticsIndexManager#create_dataverse.
Constructor Details
#initialize(ignore_if_exists: false, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ CreateDataverse
Creates an instance of options for AnalyticsIndexManager#create_dataverse
39 40 41 42 43 44 45 46 47 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 39 def initialize(ignore_if_exists: false, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: timeout, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @ignore_if_exists = ignore_if_exists yield self if block_given? end |
Instance Attribute Details
#ignore_if_exists ⇒ Boolean
26 27 28 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 26 def ignore_if_exists @ignore_if_exists end |