Class: WorkOS::VaultNamesListedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::VaultNamesListedData
- Defined in:
- lib/workos/vault/vault_names_listed_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ actor_id: :actor_id, actor_source: :actor_source, actor_name: :actor_name }.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.
Instance Method Summary collapse
-
#initialize(json) ⇒ VaultNamesListedData
constructor
A new instance of VaultNamesListedData.
Constructor Details
#initialize(json) ⇒ VaultNamesListedData
Returns a new instance of VaultNamesListedData.
18 19 20 21 22 23 |
# File 'lib/workos/vault/vault_names_listed_data.rb', line 18 def initialize(json) hash = self.class.normalize(json) @actor_id = hash[:actor_id] @actor_source = hash[:actor_source] @actor_name = hash[:actor_name] end |
Instance Attribute Details
#actor_id ⇒ Object
Returns the value of attribute actor_id.
13 14 15 |
# File 'lib/workos/vault/vault_names_listed_data.rb', line 13 def actor_id @actor_id end |
#actor_name ⇒ Object
Returns the value of attribute actor_name.
13 14 15 |
# File 'lib/workos/vault/vault_names_listed_data.rb', line 13 def actor_name @actor_name end |
#actor_source ⇒ Object
Returns the value of attribute actor_source.
13 14 15 |
# File 'lib/workos/vault/vault_names_listed_data.rb', line 13 def actor_source @actor_source end |