gmail v0.1.17 Gmail.Utils

General helper functions.

Summary

Functions

Converts a map with string keys to a map with atom keys

Camelizes a string (with the first letter in lower case)

Loads the config value for a specified subject and key

Functions

atomise_key(arg, map)
atomise_keys(map)
atomise_keys(any) :: map

Converts a map with string keys to a map with atom keys

camelize(str)

Camelizes a string (with the first letter in lower case)

load_config(subject)
load_config(atom) :: list
load_config(subject, key)
load_config(atom, atom) :: any
load_config(subject, key, default)
load_config(atom, atom, any) :: any

Loads the config value for a specified subject and key.