Method: ROTP::TOTP#now
- Defined in:
- lib/rotp/totp.rb
permalink #now ⇒ Integer
Generate the current time OTP
23 24 25 |
# File 'lib/rotp/totp.rb', line 23 def now generate_otp(timecode(Time.now)) end |
Generate the current time OTP
23 24 25 |
# File 'lib/rotp/totp.rb', line 23 def now generate_otp(timecode(Time.now)) end |