Method: Gem::GemcutterUtilities#add_otp_option
- Defined in:
- lib/rubygems/gemcutter_utilities.rb
#add_otp_option ⇒ Object
Add the –otp option
34 35 36 37 38 39 40 |
# File 'lib/rubygems/gemcutter_utilities.rb', line 34 def add_otp_option add_option("--otp CODE", "Digit code for multifactor authentication", "You can also use the environment variable GEM_HOST_OTP_CODE") do |value, | [:otp] = value end end |