lib/samson/secrets/hashicorp_vault_backend.rb
# convert from/to escaped characters
convert from/to escaped characters
convert from / to escaped characters
def convert_path!(string, direction)
          case direction
          when :encode then string.gsub!(DIRECTORY_SEPARATOR, "%2F")
          when :decode then string.gsub!("%2F", DIRECTORY_SEPARATOR)
          else raise ArgumentError, "direction is required"
          end
          string
        end
def convert_path! ( string , direction ) case direction when :encode then string . gsub! ( DIRECTORY_SEPARATOR , "%2F" ) when :decode then string . gsub! ( "%2F" , DIRECTORY_SEPARATOR ) else raise ArgumentError , "direction is required" end string end
convert from/to escaped characters
convert from / to escaped characters
string
direction