userbin/ruby-u2f — pull request #2 by mastahyeti (2014-11-26 04:55:13+00:00)
Title: handle RegisterResponse errors

This PR allows `RegisterResponse.load_from_json` to accept a JSON string including an `errorCode`. A `RegistrationError` will be raised with the error code and some details.