title: How do I add domains to Heroku app using Ruby code?
body: <p>I'm creating an app that allows users to use their own domain. What method do I use in my Rails app to automatically register their chosen domain with Heroku? I'll also need to deregister it if they change it.</p>