how do i or can i access a model from the console
say i make
src/model/member.erl
-module(member, [Id, Username, Email, Name, PasswordHash, Key, Status]).
-define(SECRET_STRING, "Not telling secrets!").
-compile(export_all).

%% @doc Returns the session identifier.
session_identifier() ->
    mochihex:to_hex(erlang:md5(?SECRET_STRING ++ Id)).
   

then in the console run
member:new().
** exception error: undefined function member:new/0

member:session_identifier().
** exception error: undefined function member:session_identifier/0
 any ideas
im just following the an evening guide but swtched the ward_boss 

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/9c60f373-bcf1-4308-b7fc-b7e7d1c36e8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: member.erl
Description: Binary data

Reply via email to