Class: WorkOS::Vault::ObjectVersion
- Inherits:
-
Data
- Object
- Data
- WorkOS::Vault::ObjectVersion
- Defined in:
- lib/workos/vault.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#current_version ⇒ Object
readonly
Returns the value of attribute current_version.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Class Method Summary collapse
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
82 83 84 |
# File 'lib/workos/vault.rb', line 82 def created_at @created_at end |
#current_version ⇒ Object (readonly)
Returns the value of attribute current_version
82 83 84 |
# File 'lib/workos/vault.rb', line 82 def current_version @current_version end |
#id ⇒ Object (readonly)
Returns the value of attribute id
82 83 84 |
# File 'lib/workos/vault.rb', line 82 def id @id end |
Class Method Details
.from_hash(hash) ⇒ Object
83 84 85 |
# File 'lib/workos/vault.rb', line 83 def self.from_hash(hash) new(id: hash["id"], created_at: hash["created_at"], current_version: hash["current_version"]) end |