lib/cloudinary/uploader.rb in cloudinary-1.0.63 vs lib/cloudinary/uploader.rb in cloudinary-1.0.64
- old
+ new
@@ -97,10 +97,10 @@
:tags=>options[:tags] && Cloudinary::Utils.build_array(options[:tags]).join(",")
}
end
end
- TEXT_PARAMS = [:public_id, :font_family, :font_size, :font_color, :text_align, :font_weight, :font_style, :background, :opacity, :text_decoration]
+ TEXT_PARAMS = [:public_id, :font_family, :font_size, :font_color, :text_align, :font_weight, :font_style, :background, :opacity, :text_decoration, :line_spacing]
def self.text(text, options={})
call_api("text", options) do
params = {:timestamp => Time.now.to_i, :text=>text}
TEXT_PARAMS.each{|k| params[k] = options[k] if !options[k].nil?}
params