def from_serializable(serializable)
      super(serializable)
      @username = serializable['username']
      @email = serializable['email']
      # the password is never received from the server, so don't set it
      @real_name = serializable['realname']
      @privacy_level = serializable['publicvisible']
      @date_created = nil
      unless serializable['datecreated'].nil?
        @date_created = Time.at(serializable['datecreated']).to_datetime
      end
    end
def from_serializable(serializable)
      super(serializable)
      @username = serializable['username']
      @email = serializable['email']
      # the password is never received from the server, so don't set it
      @real_name = serializable['realname']
      @privacy_level = serializable['publicvisible']
      @date_created = nil
      unless serializable['datecreated'].nil?
        @date_created = Time.at(serializable['datecreated']).to_datetime
      end
    end
:category: Serialization

 Creates itself from a serializable representation, which only contains
 simple data types.
 serializable:: A hash with the keys:
 * uri:: The URI.
 * id:: The identifier.
 * username:: The username.
 * email:: The email address.
 * realname:: The real name.
 * publicvisible:: The privacy level, see PrivacyLevel constants.
 * datecreated:: The date it was created.