class ROTP::OTP::URI

def period

def period
  return if @otp.is_a?(HOTP)
  return if @otp.interval == DEFAULT_INTERVAL
  @otp.interval
end