Project

hopo-ruby

0.0
No commit activity in last 3 years
No release in over 3 years
Easily connect to multiple Honest Policy APIs including the Rater, Leads, Vehicles and Carrier Quality
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.10.1
~> 10.0
 Project Readme

hopo-ruby

Gem Version Code Climate

A library for using the Honest Policy API, currently supports Auto and Home Raters.

Installation

Add this line to your application's Gemfile:

gem 'hopo-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hopo-ruby

Setup

You need to set the api_key given by honestpolicy before you can use the raters. This can be set as simply as:

Hopo.api_key = 'your-unique-api-key'

If you are using rails, you can run the generator to setup a config/initializer file for you. This file will require the hopo library and add a line to set your api_key. Make sure you do not commit your actual key to your repository.

$ rails g hopo:install

Usage

coming soon