How resistance is measured in direct deflection method

The deflection of galvanometer connected in series with the resistance to be measured gives a measure of the insulation resistance.