ExTwilio v0.7.0 ExTwilio.Ext.Map View Source
Additional helper functions for working with maps
Link to this section Summary
Functions
Puts a given key/value pair into a map, if the value is not false
or nil
Validates that a function returns true on the given map field, otherwise raises an error
Link to this section Types
Link to this type
key() View Source
Link to this section Functions
Link to this function
put_if(map, key, value) View Source
Puts a given key/value pair into a map, if the value is not false
or nil
.
Link to this function
validate!(map, field, fun, message) View Source
Validates that a function returns true on the given map field, otherwise raises an error.