Class: WorkOS::VaultDekDecryptedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::VaultDekDecryptedData
- Defined in:
- lib/workos/vault/vault_dek_decrypted_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ actor_id: :actor_id, actor_source: :actor_source, actor_name: :actor_name, key_id: :key_id }.freeze
Instance Attribute Summary collapse
-
#actor_id ⇒ Object
Returns the value of attribute actor_id.
-
#actor_name ⇒ Object
Returns the value of attribute actor_name.
-
#actor_source ⇒ Object
Returns the value of attribute actor_source.
-
#key_id ⇒ Object
Returns the value of attribute key_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ VaultDekDecryptedData
constructor
A new instance of VaultDekDecryptedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ VaultDekDecryptedData
Returns a new instance of VaultDekDecryptedData.
20 21 22 23 24 25 26 |
# File 'lib/workos/vault/vault_dek_decrypted_data.rb', line 20 def initialize(json) hash = self.class.normalize(json) @actor_id = hash[:actor_id] @actor_source = hash[:actor_source] @actor_name = hash[:actor_name] @key_id = hash[:key_id] end |
Instance Attribute Details
#actor_id ⇒ Object
Returns the value of attribute actor_id.
14 15 16 |
# File 'lib/workos/vault/vault_dek_decrypted_data.rb', line 14 def actor_id @actor_id end |
#actor_name ⇒ Object
Returns the value of attribute actor_name.
14 15 16 |
# File 'lib/workos/vault/vault_dek_decrypted_data.rb', line 14 def actor_name @actor_name end |
#actor_source ⇒ Object
Returns the value of attribute actor_source.
14 15 16 |
# File 'lib/workos/vault/vault_dek_decrypted_data.rb', line 14 def actor_source @actor_source end |
#key_id ⇒ Object
Returns the value of attribute key_id.
14 15 16 |
# File 'lib/workos/vault/vault_dek_decrypted_data.rb', line 14 def key_id @key_id end |