Class: Minbox::Helo

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

Instance Method Summary collapse

Instance Method Details

#run(client, line) ⇒ Object



17
18
19
20
# File 'lib/minbox/client.rb', line 17

def run(client, line)
  _ehlo, _client_domain = line.split(' ')
  client.write "250 #{client.server.host}"
end