I think there's a typo here: `options.ttlInSeconds` should be `options.ttl` because that's how it's spelled at the top of `lib/pin_code.js`.