West Ham manager David Moyes was delighted with his side's mental resilience after securing a 1-1 draw against Manchester City.