Closed ruseinov closed 4 years ago
@kayleg please take a look when you have a chance.
Thanks for adding this. I like the concept, just not entirely sold on the function name. I feel like the name should be more descriptive without needing to check the argument name (especially since the 2 new
functions take the same type), but I can't come up with a better suggestion at the moment.
new_with_credentials?
Here is a list of options I could come up with: new_with_crdentials new_with_json new_with_json_string from_json
I’d vote for from_json actually
Ended up with from_string
.
good enough for now
Fixes #9