Root Insurance Ruby

Build Status Coverage Status Gem Version

Root is a company built by developers for developers. Open Source Software is part of our culture. We open-source as much of our codebase as we can.

Our SDKs are community maintained. (because we’re not experts in go, or lolcode, or ruby, or swift or rust or any of the plethora of wonderful languages living out in the wild).

This repo for the Ruby Insurance SDK is currently a simple wrapper around Root's Insurance API. The full API documentation can be found here.

For help and support, please reach out to us on the Root Club Slack.

Installation

Add this line to your application's Gemfile:

gem 'root_insurance'

And then execute:

bundle

Quick start

  1. Create an instance of RootInsurance::Client

    client = RootInsurance::Client.new("test_key_tYILz1640w9q5n5kNQUZ", '', :sandbox)
    
  2. Use the api See the documentation here.

Contributing

If you wish to contribute to this repository, please fork it and send a PR our way.

Code of Conduct

Root’s developers and our community are expected to abide by the Contributor Covenant Code of Conduct. Play nice.