PhoneGap Build Oauth Client Demo
This here rails app is completely useless, aside from showing you how to connect to PhoneGap Build using the Oauth flow. Its a more secure way of consuming our API, and in the future will allow you to specify scopes for your API tokens, and maybe even user metrics at some point.
I used Ruby 2 and Rails 4. Its cutting edge.
Register your app on PhoneGap Build. Your main application url will be http://localhost:3000 and your callback url should be http://localhost:3000/pgb_callback.
app/controllers/welcome_controller.rb and change these values that you obtained when you registered your app on Build:
then go to http://localhost:3000 in Chrome.