lib/cloudinary/uploader.rb in cloudinary-1.8.3 vs lib/cloudinary/uploader.rb in cloudinary-1.9.0

- old
+ new

@@ -16,9 +16,10 @@ #symbolize keys options = options.clone options.keys.each { |key| options[key.to_sym] = options.delete(key) if key.is_a?(String) } params = { + :access_control => Cloudinary::Utils.json_array_param(options[:access_control]), :access_mode => options[:access_mode], :allowed_formats => Cloudinary::Utils.build_array(options[:allowed_formats]).join(","), :async => Cloudinary::Utils.as_safe_bool(options[:async]), :auto_tagging => options[:auto_tagging] && options[:auto_tagging].to_f, :background_removal => options[:background_removal],