module DynamicImage::Model::Validations::ClassMethods

Public Instance Methods

allowed_colorspaces() click to toggle source
# File lib/dynamic_image/model/validations.rb, line 60
def allowed_colorspaces
  %w[rgb cmyk gray]
end
allowed_content_types() click to toggle source
# File lib/dynamic_image/model/validations.rb, line 64
def allowed_content_types
  DynamicImage::Format.content_types
end