Library to interface InterExchange with the CampMinder ClientLink API.
Add this line to your application's Gemfile:
gem 'CampMinder'
And then execute:
$ bundle
Or install it yourself as:
$ gem install CampMinder
Environment variables are used to configure your CampMinder credentials.
CAMPMINDER_BUSINESS_PARTNER_ID
:
The integer ID of your company in CampMinder's system.
CAMPMINDER_SECRET_CODE
:
The secret code of your company in CampMinder's system.
CAMPMINDER_WEB_SERVICE_URL
:
A URL on CampMinder’s system to which you will send all
outgoing requests.
CAMPMINDER_REDIRECTION_URL
:
A URL on CampMinder’s system to which you will redirect control as
the last step of the Connection Establishment procedure.
For local gem testing there is a .env
file in this respository with
sample settings.
POST https://partner.eg/camp_minder_handler CONTENT-TYPE ?multipart/form-data?
All Classes are namespaced within CampMinder
, we're using example documentation
provided to us by CampMinder to build the domain tests.
InterExchange is the partner, we're the system which is going to connect to CampMinder
A Camp is the Client, this is the place where the Staff are going to be working
A Camp's Contact is going to be a Person who authorizes the link between the Client and us, the Partner
As a staffing partner we use the API to send Staff for the client.
$ rake
There is a dummy rails app at spec/dummy
, the gems spec suite should be used to execute these tests, eg:
rspec spec/dummy/spec/
- Fork it ( https://github.com/interexchange/campminder-rb/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
LICENSE.txt