integrating Twain devices and rails application...

Any idea how to integrate twain devices with the ror appliations....

Thanks,
Ratnavel