Sha256: 0c5198c874512f0fb2f8a8decfab71073760cb3e76c2b20194deeb50d9cd388f
Contents?: true
Size: 368 Bytes
Versions: 139
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true require 'io/console' module SdrClient # The namespace for the "login" command module LoginPrompt def self.run print 'Email: ' email = gets email.strip! print 'Password: ' password = $stdin.noecho(&:gets) password.strip! puts { email: email, password: password } end end end
Version data entries
139 entries across 139 versions & 1 rubygems