Class: Fog::Identity::Proxmox::Oath

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

Overview

class Oath two factors authentication

Instance Method Summary collapse

Methods inherited from Proxmox::Model

#create, #destroy, #inspect, #update

Constructor Details

#initialize(attributes) ⇒ Oath


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

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

Instance Method Details

#to_sObject


44
45
46
# File 'lib/fog/identity/proxmox/models/oath.rb', line 44

def to_s
  "type=#{type},step=#{step},digits=#{digits}"
end