Class: WorkOS::Vault::ObjectDigest
- Inherits:
-
Data
- Object
- Data
- WorkOS::Vault::ObjectDigest
- 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.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id
76 77 78 |
# File 'lib/workos/vault.rb', line 76 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
76 77 78 |
# File 'lib/workos/vault.rb', line 76 def name @name end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at
76 77 78 |
# File 'lib/workos/vault.rb', line 76 def updated_at @updated_at end |
Class Method Details
.from_hash(hash) ⇒ Object
77 78 79 |
# File 'lib/workos/vault.rb', line 77 def self.from_hash(hash) new(id: hash["id"], name: hash["name"], updated_at: hash["updated_at"]) end |