Class: Minbox::StartTls

Inherits:
Object
  • Object
show all
Defined in:
lib/minbox/client.rb

Instance Method Summary collapse

Instance Method Details

#run(client, _line) ⇒ Object



51
52
53
54
# File 'lib/minbox/client.rb', line 51

def run(client, _line)
  client.write '220 Ready to start TLS'
  client.secure_socket!
end