Hey guys,
I just thought I would share a gem that I have written to integrate with the Moodle external services module. It’s a ruby gem that exposes all the services available. Token generation included.
https://github.com/get-smarter/moodle-api
Feedback is welcome via logging an issue in github.