Sha256: 50bc4b451e7acd3a31931fa9f978a3c96c780bedd4e337fbcea81e4b9b4457cf
Contents?: true
Size: 462 Bytes
Versions: 5
Compression:
Stored size: 462 Bytes
Contents
module Rasti class App class Job < Asynchronic::Job extend ClassConfig attr_config :container def call raise "Undefined #{self.class.name}.container" unless self.class.container context = params[:context].merge(job_id: @process.id) interaction = params[:interaction].new self.class.container, context interaction.call params[:interaction].build_form params[:params] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rasti-app-0.1.2 | lib/rasti/app/job.rb |
rasti-app-0.1.1 | lib/rasti/app/job.rb |
rasti-app-0.1.0 | lib/rasti/app/job.rb |
rasti-app-0.0.10 | lib/rasti/app/job.rb |
rasti-app-0.0.9 | lib/rasti/app/job.rb |