Hamas says a member of its military wing carried out the bombing of a Jerusalem bus on Monday.