Sha256: eb91c71e4a72d4bf45447732d3b15994da05562b98d954e26d278446fa820f05
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
module HtmlTo class MetaImageGenerateJob < ::ActiveJob::Base queue_as :html_to def perform(id, class_name, serializer, options) record = class_name.constantize.find(id) generator.call(record, serializer, options) end def generator HtmlTo::ImageGenerate.new end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
html_to-1.0.1 | lib/html_to/meta_image_generate_job.rb |