#Rest interface for Responsys API
Rails application that provides a rest based interface for the Responsys SOAP API. Based on the responsys-api gem by dandemeyere.
The documentation is included as part of the application. We have a demo version deployed to Heroku, none of the calls will work as the Responsys credentials are invalid. https://responsys-rest.herokuapp.com/. If you have any questions or if you want to report a bug please create an issue.
You can checkout the repository and run as a normal Rails app, or install the application using a deb from releases.
The deb has been created using pkgr.
git clone [email protected]:TheBookPeople/responsys-rest.git
cd responsys-rest
git checkout [TAG_VERSION]
bundle install
export RESPONSYS_USER=user
export RESPONSYS_PASSWORD=password
bundle exec rails s -b0.0.0.0
Download deb file from releases
sudo apt-get install mysql-common
sudo dpkg -i responsys-rest_[VERSION]_amd64.deb
sudo vi /etc/responsys-rest/conf.d/other
sudo vi /etc/responsys-rest/conf.d/other
export RESPONSYS_USER=user
export RESPONSYS_PASSWORD=password
export PORT=8081
sudo responsys-rest scale web=1
sudo responsys-rest logs -f
We use VCR to capture and replay calls to the Responsys SOAP API.
export RESPONSYS_USER=user
export RESPONSYS_PASSWORD=password
bundle exec rspec
We use gitflow to manage our git workflow.
- Fork it
- Create your feature branch (
git checkout develop
) - Create your feature branch (
git checkout -b feature/my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin feature/my-new-feature
) - Create new Pull Request