class CybridApiId::Configuration

def api_key_with_prefix(param_name, param_alias = nil)

Parameters:
  • param_name (String) -- the parameter name of API key auth
def api_key_with_prefix(param_name, param_alias = nil)
  key = @api_key[param_name]
  key = @api_key.fetch(param_alias, key) unless param_alias.nil?
  if @api_key_prefix[param_name]
    "#{@api_key_prefix[param_name]} #{key}"
  else
    key
  end
end