public
Created

  • Download Gist
gistfile1.erl
Erlang
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
-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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.