Sha256: ca023bc7472539523b5963777e8dd919c9f2101d9bcc79f8c342496ba937220b
Contents?: true
Size: 629 Bytes
Versions: 53
Compression:
Stored size: 629 Bytes
Contents
require "ood_core/refinements/hash_extensions" module OodCore module BatchConnect class Factory using Refinements::HashExtensions # Build the basic template from a configuration # @param config [#to_h] the configuration for the batch connect template def self.build_basic(config) context = config.to_h.symbolize_keys.reject { |k, _| k == :template } Templates::Basic.new(context) end end module Templates # A batch connect template that expects to start up a basic web server # within a batch job class Basic < Template end end end end
Version data entries
53 entries across 53 versions & 1 rubygems