Class: Fog::Identity::Proxmox::Yubico

Inherits:
Proxmox::Model show all
Defined in:
lib/fog/identity/proxmox/models/yubico.rb

Overview

class Yubico Two factor authentification

Instance Method Summary collapse

Methods inherited from Proxmox::Model

#create, #destroy, #inspect, #update

Constructor Details

#initialize(attributes) ⇒ Yubico

Returns a new instance of Yubico


40
41
42
43
# File 'lib/fog/identity/proxmox/models/yubico.rb', line 40

def initialize(attributes)
  self.type = 'yubico'
  super
end

Instance Method Details

#to_sObject


45
46
47
# File 'lib/fog/identity/proxmox/models/yubico.rb', line 45

def to_s
  "type=#{type},id=#{id},key=#{key},url=#{url}"
end