Class: WorkOS::Vault::ObjectUpdateBy
- Inherits:
-
Data
- Object
- Data
- WorkOS::Vault::ObjectUpdateBy
- Defined in:
- lib/workos/vault.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id
44 45 46 |
# File 'lib/workos/vault.rb', line 44 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
44 45 46 |
# File 'lib/workos/vault.rb', line 44 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
45 46 47 48 |
# File 'lib/workos/vault.rb', line 45 def self.from_hash(hash) return nil if hash.nil? new(id: hash["id"], name: hash["name"]) end |