View Source Craftgate.Utils (Craftgate v1.0.42)
Link to this section Summary
Functions
Calculates the signature header based on the given parameters
Returns whether or not a given value is nil or empty
Returns whether or not a given value is not nil and not empty
Generates a random string of given length (default: 16)
Link to this section Functions
Link to this function
calculate_signature(api_key, secret_key, url, random_key, body \\ nil)
View SourceCalculates the signature header based on the given parameters
Returns whether or not a given value is nil or empty
Returns whether or not a given value is not nil and not empty
Generates a random string of given length (default: 16)