Class: ConnectState
Instance Method Summary collapse
Methods included from Messages
#go_ahead, #goodbye, #greeting, #helo_response, #ok
Instance Method Details
#read_client_helo(io) ⇒ Object
50 51 52 |
# File 'lib/smtp_states.rb', line 50 def read_client_helo(io) io.readline end |
#serve(io) ⇒ Object
43 44 45 46 47 48 |
# File 'lib/smtp_states.rb', line 43 def serve(io) read_client_helo(io) helo_response(io) :connected end |