Class: Couchbase::Management::EncryptionSettings
- Inherits:
-
Object
- Object
- Couchbase::Management::EncryptionSettings
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(level: :none, certificate: nil, client_certificate: nil, client_key: nil) {|self| ... } ⇒ EncryptionSettings
constructor
A new instance of EncryptionSettings.
Constructor Details
#initialize(level: :none, certificate: nil, client_certificate: nil, client_key: nil) {|self| ... } ⇒ EncryptionSettings
Returns a new instance of EncryptionSettings.
967 968 969 970 971 972 973 974 975 976 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 967 def initialize(level: :none, certificate: nil, client_certificate: nil, client_key: nil) @level = level @certificate = certificate @client_certificate = client_certificate @client_key = client_key yield self if block_given? end |
Instance Attribute Details
#certificate ⇒ String?
957 958 959 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 957 def certificate @certificate end |
#client_certificate ⇒ String?
958 959 960 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 958 def client_certificate @client_certificate end |
#client_key ⇒ String?
959 960 961 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 959 def client_key @client_key end |
#level ⇒ Symbol
956 957 958 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 956 def level @level end |