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