Measurement of the ratio $B(t \to Wb)/B(t \to Wq)$ in pp collisions at $\sqrts$ = 8 TeV