Example #1
0
func Confirm(s *pushes.State) error {
	if s.CanConfirm() {
		return push(s, "Pushbullet PIN = "+s.Pin,
			"Tell sp0rkle 'push auth <pin>' to complete setup.")
	}
	return errors.New("Not in correct state to send confirmation push.")
}