Class: Teak::AttrEncrypted::KEKProvider::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/teak/attr_encrypted/kek_provider/base.rb

Direct Known Subclasses

AES, AwsKMS

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ Base

Returns a new instance of Base.



9
10
11
# File 'lib/teak/attr_encrypted/kek_provider/base.rb', line 9

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



7
8
9
# File 'lib/teak/attr_encrypted/kek_provider/base.rb', line 7

def id
  @id
end