A pub worker has been sentenced for illegally installing gas pipework and a gas boiler at a flat in Torquay.