Created
January 18, 2012 12:19
-
-
Save UnisonPublic/1632748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-record(account_types, { | |
id = {integer, [ | |
{private, true} | |
]}, | |
name = {binary_string, [ | |
{max_length, 160}, | |
{min_length, 1} | |
]}, | |
password = {binary_string, [ | |
{description, "Password"}, | |
{min_length, 6} | |
]} | |
}). | |
%% @doc | |
%% Creates new account by invitation. | |
%% {struct, [ | |
%% {<<"id">>, #account_types.id}, | |
%% {<<"name">>, #account_types.name}, | |
%% {<<"password">>,#account_types.password} | |
%% ]} | |
%% @see request_invite/0 | |
%% @see check_invite_key/0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment