# File lib/aws/iam/virtual_mfa_device.rb, line 122 def format_auth_code(code) code.is_a?(Integer) ? sprintf("%06d", code) : code end