bitpay / ruby-client

Powerful, flexible, lightweight SDK for the BitPay Bitcoin Payment Gateway API.
MIT License
79 stars 64 forks source link

Refactor claim code generation #34

Closed matugm closed 9 years ago

matugm commented 9 years ago

This refactor makes the code much easier to understand and takes advantage of rand(Range) and Array.new with a block.

philosodad commented 9 years ago

I'll merge this after we get the build problem straightened out, thanks!