Class: YubiOATH::CalculateAll::Response::Code
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- YubiOATH::CalculateAll::Response::Code
- Defined in:
- lib/yubioath/calculate_all.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
25 26 27 |
# File 'lib/yubioath/calculate_all.rb', line 25 def to_s (response % 10**digits).to_s.rjust(digits, '0') end |