Class: KmsEncrypted::Clients::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/kms_encrypted/clients/base.rb

Direct Known Subclasses

Aws, Google, Test, Vault

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_id: nil, legacy_context: false) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/kms_encrypted/clients/base.rb', line 6

def initialize(key_id: nil, legacy_context: false)
  @key_id = key_id
  @legacy_context = legacy_context
end

Instance Attribute Details

#key_idObject (readonly)

Returns the value of attribute key_id.



4
5
6
# File 'lib/kms_encrypted/clients/base.rb', line 4

def key_id
  @key_id
end