class ROTP::TOTP

def now

Returns:
  • (Integer) - the OTP as an integer
def now
  generate_otp(timecode(Time.now))
end