Example app using the Singly API with Sinatra (Ruby).
bundle install
gem install shotgun
export SINGLY_ID=<your Singly app ID>
export SINGLY_SECRET=<your Singly app secret>
shotgun -p 4567 lib/application.rb
Now visit http://lvh.me:4567.
Example app using the Singly API with Sinatra (Ruby).
bundle install
gem install shotgun
export SINGLY_ID=<your Singly app ID>
export SINGLY_SECRET=<your Singly app secret>
shotgun -p 4567 lib/application.rb
Now visit http://lvh.me:4567.