Mj
Results
2
comments of
Mj
commit 忘记合并了,这个是因为alias_method :password, :api_secret,保证兼容你form的接口
``` ruby Upyun::FormBase.new api_secret: Rails.configuration.upyun[:form], bucket: Rails.configuration.upyun[:bucket], params: { 'save-key' => "/{year}_{mon}_{day}_{filename}{.suffix}" } ``` 提取出base 之后可以更加直观使用api