lib/cos/resource.rb in cos-0.1.1 vs lib/cos/resource.rb in cos-0.1.2
- old
+ new
@@ -77,9 +77,10 @@
# COS资源,文件与目录的共有操作
class ResourceOperator < Struct::Base
required_attrs :bucket, :path, :name, :ctime, :mtime
optional_attrs :biz_attr, :filesize, :filelen, :sha, :access_url,
+ :source_url,
# 根目录(bucket)参数
:authority, :bucket_type, :migrate_source_domain,
:need_preview, :refers, :blackrefers, :brower_exec,
:cnames, :nugc_flag, :SKIP_EXTRA
\ No newline at end of file