Anyone doing PAM authentication in a Rails app?

Hey all,

Has anyone worked with accessing user accounts and authenting via PAM
(like ruby-pam)? I have looked at the example code on the ruby-pam
page, but I’m not super clear on it. Any examples out there? Anyone
else interested in the topic?