lib/cloudinary/uploader.rb in cloudinary-1.14.0 vs lib/cloudinary/uploader.rb in cloudinary-1.15.0
- old
+ new
@@ -62,10 +62,11 @@
:transformation => Cloudinary::Utils.generate_transformation_string(options.clone),
:type => options[:type],
:unique_filename => Cloudinary::Utils.as_safe_bool(options[:unique_filename]),
:upload_preset => options[:upload_preset],
:use_filename => Cloudinary::Utils.as_safe_bool(options[:use_filename]),
+ :accessibility_analysis => Cloudinary::Utils.as_safe_bool(options[:accessibility_analysis])
}
params
end
def self.unsigned_upload(file, upload_preset, options={})
@@ -246,10 +247,10 @@
:transformation => Cloudinary::Utils.generate_transformation_string(options.clone)
}
end
end
- # options may include 'exclusive' (boolean) which causes clearing this tag from all other resources
+ # options may include 'exclusive' (boolean) which causes clearing this tag from all other resources
def self.add_tag(tag, public_ids = [], options = {})
exclusive = options.delete(:exclusive)
command = exclusive ? "set_exclusive" : "add"
return self.call_tags_api(tag, command, public_ids, options)
end