Sha256: 4d089e456177c7797478bf4de3baa057757cb21124a81376e918c1c79a0de4b6
Contents?: true
Size: 501 Bytes
Versions: 22
Compression:
Stored size: 501 Bytes
Contents
require 'kuroko2' require 'serverengine' module Kuroko2 module Servers class Base if Rails.env.development? ActionMailer::Base.logger = Kuroko2.logger end def initialize(options = {}) @options = options end def run ServerEngine.create(nil, worker, default_options.merge(@options)).run end private def worker raise NotImplementedError end def default_options {} end end end end
Version data entries
22 entries across 22 versions & 1 rubygems