userbin/ruby-u2f — pull request #3 by mastahyeti (2014-11-29 22:29:46+00:00)
Title: Use JSON's #to_json instead of Collection

I wasn't clear on why `Collection` was needed. `JSON` should already define `#to_json` for a bunch of types, like `Array`. The reason I was looking at this was that Rails calls `to_json` with a hash of options. I went ahead and changed the signature of `RequestBase#to_json` to support this hash.