package br.com.mutley;
import br.com.mutley.data.Coder;
import br.com.mutley.exception.CoderWallException;
import br.com.mutley.repository.CoderConnection;
public class CoderWall {
/**
* <p>
* Fetch a coder from the api by the coder username.
* </p>
*
* @param String
* coderUserName
* @return Coder object from the query
* @throws CoderWallException
* if anything goes wrong with the query.
*/
public static Coder getCoder(String coderUserName)
throws CoderWallException {
return new CoderConnection(coderUserName).getCoder();
}
}