lib/bolt/transport/base.rb
# Transform a parameter map to an environment variable map, with parameter names prefixed
# with 'PT_' and values transformed to JSON unless they're strings.
Transform a parameter map to an environment variable map, with parameter names prefixed
with 'PT_' and values transformed to JSON unless they're strings.
Transform a parameter map to an environment variable map with parameter names prefixed with ' PT_ ' and values transformed to JSON unless they ' re strings .
def envify_params(params)
        params.each_with_object({}) do |(k, v), h|
          v = v.to_json unless v.is_a?(String)
          h["PT_#{k}"] = v
        end
      end
def envify_params ( params ) params . each_with_object ( { } ) do | ( k , v ) , h | v = v . to_json unless v . is_a? ( String ) h [ "PT_#{k}" ] = v end end
Transform a parameter map to an environment variable map, with parameter names prefixed
with 'PT_' and values transformed to JSON unless they're strings.
Transform a parameter map to an environment variable map with parameter names prefixed with ' PT_ ' and values transformed to JSON unless they ' re strings .
params