class YubiOATH::CalculateAll::Response::Code

Public Instance Methods

to_s() click to toggle source
# File lib/yubioath/calculate_all.rb, line 40
def to_s
  (response % 10**digits).to_s.rjust(digits, '0')
end