truevault.rb
A super quick Ruby client for TrueVault ("handles HIPAA compliance so that you don’t have to") powered by HTTParty.
Developed by @Skram of Social Health Insights.
How to use
- Clone this repository to your computer. Notice that all the code is in
lib/truevault.rb
- Set up the following environment variables:
TV_API_KEY
andTV_ACCOUNT_ID
,TV_A_VAULT_ID
.cp .env.sample .env
- Install required dependencies:
bundle install
- Run the example file:
bundle exec ruby example_usage.rb
- Profit and then contribute back to an open source project, please.
How to run tests
- Follow steps 1 through 3 under 'How to use'
bundle exec rake
Resources
To do
- Better error handling
- More tests
- Flush out README.md with details such as
- Dependency/platforms tested on
- Info on contributing