Class: Fog::Proxmox::Identity::TokenInfo
- Inherits:
-
Model
- Object
- Model
- Fog::Proxmox::Identity::TokenInfo
- Defined in:
- lib/fog/proxmox/identity/models/token_info.rb
Overview
class TokenInfo model
Instance Method Summary collapse
-
#initialize(new_attributes = {}) ⇒ TokenInfo
constructor
A new instance of TokenInfo.
Constructor Details
#initialize(new_attributes = {}) ⇒ TokenInfo
Returns a new instance of TokenInfo.
31 32 33 34 35 36 37 |
# File 'lib/fog/proxmox/identity/models/token_info.rb', line 31 def initialize(new_attributes = {}) prepare_service_value(new_attributes) Fog::Proxmox::Attributes.set_attr_and_sym('tokenid', attributes, new_attributes) Fog::Proxmox::Attributes.set_attr_and_sym('userid', attributes, new_attributes) requires :userid, :tokenid super(new_attributes) end |