Class: Couchbase::Bucket::PingOptions
- Inherits:
-
Object
- Object
- Couchbase::Bucket::PingOptions
- Defined in:
- lib/couchbase/bucket.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/bucket.rb more...
Instance Attribute Summary collapse
-
#report_id ⇒ String
Holds custom report id.
-
#service_types ⇒ Array<Symbol>
The service types to limit this diagnostics request.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ PingOptions
constructor
A new instance of PingOptions.
Constructor Details
#initialize {|_self| ... } ⇒ PingOptions
Returns a new instance of PingOptions.
133 134 135 136 |
# File 'lib/couchbase/bucket.rb', line 133 def initialize @service_types = [:kv, :query, :analytics, :search, :views, :management] yield self if block_given? end |
Instance Attribute Details
#report_id ⇒ String
Returns Holds custom report id.
125 126 127 |
# File 'lib/couchbase/bucket.rb', line 125 def report_id @report_id end |
#service_types ⇒ Array<Symbol>
Returns The service types to limit this diagnostics request.
128 129 130 |
# File 'lib/couchbase/bucket.rb', line 128 def service_types @service_types end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
131 132 133 |
# File 'lib/couchbase/bucket.rb', line 131 def timeout @timeout end |