Method: Bolt::Config.transport_definitions

Defined in:
lib/bolt/config.rb

.transport_definitionsObject

Builds a hash of definitions for transport configuration.



45
46
47
48
49
# File 'lib/bolt/config.rb', line 45

def self.transport_definitions
  INVENTORY_OPTIONS.each_with_object({}) do |(option, definition), acc|
    acc[option] = TRANSPORT_CONFIG.key?(option) ? definition.merge(TRANSPORT_CONFIG[option].schema) : definition
  end
end