Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 946 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 946 Bytes

Build Status

S2P Hancock

Simple wrapper for interacting with Sign2Pay's Signature Verification Service - Hancock

Installation

Add this line to your application's Gemfile:

gem 's2p_hancock'

And then execute:

$ bundle

Or install it yourself as:

$ gem install s2p_hancock

Usage

require 's2p_hancock'
S2PHancock.license_key = "<YOUR LICENSE KEY>"
S2PHancock.endpoint = "<YOUR HANCOCK INSTANCE URL>"
request = S2PHancock::Request.new(:signature_id => "534d568369702d3f640a0000")
resp = request.process

Contributing

  1. Fork it ( http://github.com/sign2pay/s2p_hancock/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request