README.md in rotp-2.1.0 vs README.md in rotp-2.1.1
- old
+ new
@@ -33,9 +33,15 @@
totp.verify("492039") # => true
sleep 30
totp.verify("492039") # => false
```
+Optionally, you can provide an issuer which will be used as a title in Google Authenticator.
+
+```ruby
+totp = ROTP::TOTP.new("base32secret3232", issuer: "My Service")
+```
+
### Counter based OTP's
```ruby
hotp = ROTP::HOTP.new("base32secretkey3232")
hotp.at(0) # => "260182"