ruby lib for dotide