Sha256: 5c16f2c794141a0ad9ca81c6cc76166daec04d5f5e4c4dec43a01eadccb29142
Contents?: true
Size: 482 Bytes
Versions: 23
Compression:
Stored size: 482 Bytes
Contents
require 'dragonfly/job/step' module Dragonfly class Job class Process < Step def init processor.update_url(job.url_attributes, *arguments) if processor.respond_to?(:update_url) end def name args.first.to_sym end def arguments args[1..-1] end def processor @processor ||= app.get_processor(name) end def apply processor.call(job.content, *arguments) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems