}
}
public boolean createOnHeroku(CompanyModel pCompanyModel) {
HerokuClient client = new HerokuClient(Heroku.HOST + Heroku.COMPANY_SERVICES);
CompanyModel tCompany;
try {
client.setMethod(HerokuClient.POST);
client.setParamsFromObject(pCompanyModel);
tCompany = (CompanyModel) client.request(CompanyModel.class);
if (tCompany.getId() == null) {
return false;
} else {
pCompanyModel.setId(tCompany.getId());