put the gammon in a pan, skin-side down if it fits like that, add the onion, then pour over the coke. 2. bring to the boil, reduce to a good simmer, put the lid on, though not tightly, and cook for just under 2 1/2 hours.