Fortumo Mobile Payments API Example
The SMS service 'Bad News' will deliver you worst news if you want to feel sad. Not for free.
Uses Mobile Payments API of Fortumo
Deploy
Using Heroku
Set PSMS_INFO_URL
to URL 'where you can download your service information and promotional texts' from Fortumo Dashboard (My Services > Your Service > Setup)
heroku config:set SECRET_KEY_BASE=`ruby -e 'require "securerandom"; print SecureRandom.hex(128)'`
heroku config:set MOBILE_API_PSMS_INFO_URL=https://api.fortumo.com/api/services/2/service.information.xml
heroku config:set MOBILE_API_SECRET=XXX
heroku config:set CROSS_PLATFORM_API_SERVICE_ID=some-kind-of-uuid
heroku config:set CROSS_PLATFORM_API_SECRET=YYY
ssh remote add heroku [your application repository]
git push origin heroku
heroku run rake db:create
heroku run rake db:migrate
heroku run rake db:seed
heroku restart