Constraining deviations from spherical symmetry using γ -metric