Lipstick
Unofficial ruby wrapper for the following Lime Light CRM APIs:
Note this wrapper attempts to fix some of the inconsistencies in the underlying APIs.
Online documentation is available at rubydoc.info
Running the tests
To run the tests you will need your own Lime Light CRM account with a valid campaign and test payment method. Populate environment variables as follows:
export LIPSTICK_TEST_URL=https://my_test_account.limelightcrm.com/admin
export LIPSTICK_TEST_USERNAME=...
export LIPSTICK_TEST_PASSWORD=...
export LIPSTICK_TEST_CARD_NUMBER=4012.......8181
Run the tests with:
bundle exec ruby -I lib:test test/test_lipstick.rb -v
Manual cleanup of test orders may be required before re-running tests.
Contributing to lipstick
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
- Fork the project.
- Start a feature/bugfix branch.
- Commit and push until you are happy with your contribution.
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
- Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
Copyright (c) 2014-2019 Piers Chambers and South Beach Skin Care, LLC. See LICENSE.txt for further details.