Sha256: 631255f80761aaa8c89d0da5ecabdd19a710ced5ea458a80c9fb7f2943c1617e
Contents?: true
Size: 422 Bytes
Versions: 11
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true module DynamicImage module Jobs # = Create variant # # Creates an image variant. class CreateVariant < ActiveJob::Base queue_as :dis def perform(record, options, size) size_v = Vector2d.parse(size) DynamicImage::ProcessedImage.new(record, options) .find_or_create_variant(size_v) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems