Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.13 KB

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

Note: This is an unofficial community SDK and has no affiliation with TrueVault, it is provided without support or warranty.

How to use

  1. Clone this repository to your computer. Notice that all the code is in lib/truevault.rb
  2. Set up the following environment variables: TV_API_KEY and TV_ACCOUNT_ID, TV_A_VAULT_ID.
  cp .env.sample .env
  1. Install required dependencies: bundle install
  2. Run the example file: bundle exec ruby example_usage.rb
  3. Profit and then contribute back to an open source project, please.

How to run tests

  1. Follow steps 1 through 3 under 'How to use'
  2. 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