Ruby wrapper of golf switch api