qiniu / ruby-sdk

Qiniu Resource (Cloud) Storage SDK for Ruby
MIT License
164 stars 138 forks source link

Access key and secret key can not be empty #107

Closed Martin91 closed 10 years ago

Martin91 commented 10 years ago

移除不必要的默认值access_key以及secret_key,因为这样会导致后边的参数检查无意义。 处理传入的key为nil值或者空字符串值情况。

Martin91 commented 10 years ago

相关问题 https://github.com/qiniu/ruby-sdk/issues/106

longbai commented 10 years ago

@Martin91 谢谢您的PR,这个地方保留 具有提示作用。其实最好是通过函数来初始化,等下一版本改进,谢谢 :+1: