keys/sanitize

Historically we've had issues with differing key names on url params and objects e.g agreement_type, agreement, agreementType, agreement_type_code, agreement_code and so on. This is to keep key names consistent

Source:
Since:
  • 0.0.25

Methods

(inner) getFQTmap() → {map}

Source:

Create map of FQT terms

Returns:
Type
map

(inner) sanitizeStruct(skv_data) → {struct}

Source:

Pass in a struct of key value pairs and return a manipulated struct to use desired keys

Parameters:
Name Type Description
skv_data struct
Returns:
Type
struct