nbarthel / cryptsy-api

An implementation of the Cryptsy API (public and private) in Ruby
MIT License
18 stars 18 forks source link

For generatenewaddress specify currency code OR id #2

Closed kost closed 10 years ago

kost commented 10 years ago

API documentation is clear that code OR id should be used, it does not have to be specified both.

Therefore, this patch would automatically detect if ID or code is specified and call with relevant parameter.

nbarthel commented 10 years ago

Thanks kost!