Skip to content
No description or website provided.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
LICENSE
README.md
Rakefile
tent-canonical-json.gemspec

README.md

TentCanonicalJson Build Status

Derive Tent canonical json from post.

Installation

Add this line to your application's Gemfile:

gem 'tent-canonical-json'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tent-canonical-json

Usage

post = Hash.new # replace with hash representation of post json
TentCanonicalJson.encode(post) # => canonical json string

Contributing

  1. Fork it
  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
Something went wrong with that request. Please try again.