module Cloudinary::CarrierWave::ClassMethods

Public Instance Methods

cloudinary_transformation(options) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 44
def cloudinary_transformation(options)
  process :cloudinary_transformation => options
end
convert(format) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 16
def convert(format)
  process :convert => format
end
crop(width, height, gravity="Center") click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 40
def crop(width, height, gravity="Center")
  process :crop => [width, height, gravity]
end
eager() click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 12
def eager
  process :eager => true
end
make_private() click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 3
def make_private
  self.storage_type = :private
end
process_all_versions(*args) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 7
def process_all_versions(*args)
  @all_versions ||= Class.new(self)
  @all_versions.process(*args)
end
resize_and_pad(width, height, background=:transparent, gravity="Center") click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 32
def resize_and_pad(width, height, background=:transparent, gravity="Center")
  process :resize_and_pad => [width, height, background, gravity]
end
resize_to_fill(width, height, gravity="Center") click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 28
def resize_to_fill(width, height, gravity="Center")
  process :resize_to_fill => [width, height, gravity]
end
resize_to_fit(width, height) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 24
def resize_to_fit(width, height)
  process :resize_to_fit => [width, height]
end
resize_to_limit(width, height) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 20
def resize_to_limit(width, height)
  process :resize_to_limit => [width, height]
end
scale(width, height) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 36
def scale(width, height)
  process :scale => [width, height]
end
tags(*tags) click to toggle source
# File lib/cloudinary/carrier_wave/process.rb, line 48
def tags(*tags)
  process :tags=>tags
end