Method: OodCore::BatchConnect::Factory.build_vnc
- Defined in:
- lib/ood_core/batch_connect/templates/vnc.rb
.build_vnc(config) ⇒ Object
Build the VNC template from a configuration
10 11 12 13 |
# File 'lib/ood_core/batch_connect/templates/vnc.rb', line 10 def self.build_vnc(config) context = config.to_h.symbolize_keys.reject { |k, _| k == :template } Templates::VNC.new(context) end |