module Messages

Public Instance Methods

go_ahead(io) click to toggle source
# File lib/smtp_states.rb, line 17
def go_ahead(io)
  io.puts '354 go ahead'
end
goodbye(io) click to toggle source
# File lib/smtp_states.rb, line 21
def goodbye(io)
  io.puts '221 ruby goodbye'
end
greeting(io) click to toggle source
# File lib/smtp_states.rb, line 5
def greeting(io)
  io.puts '220 ruby ESMTP'
end
helo_response(io) click to toggle source
# File lib/smtp_states.rb, line 9
def helo_response(io)
  io.puts '250 ruby'
end
ok(io) click to toggle source
# File lib/smtp_states.rb, line 13
def ok(io)
  io.puts '250 ok'
end