drewbaumann / truevault.rb

Ruby client for TrueVault.com based off HTTParty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  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

About

Ruby client for TrueVault.com based off HTTParty

License:MIT License


Languages

Language:Ruby 100.0%