Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 638 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 638 Bytes

Campaign Monitor OAuth Demo

A very simple Sinatra app to demonstrate the recommended way of authenticating with the Campaign Monitor API from a Ruby environment.

This app makes use of the omniauth-createsend OmniAuth strategy for authentication, as well as the createsend gem for making API calls.

To run:

  1. Set the CREATESEND_CLIENT_ID and CREATESEND_CLIENT_SECRET environment variables for your registered OAuth application.
  2. bundle install
  3. foreman start or ruby app.rb