This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/mikel/mail | |
# http://rdoc.info/github/mikel/mail/Mail | |
#### Retrieving mail | |
yahoo_imap = { | |
:address => "imap.mail.yahoo.com", | |
:port => 993, | |
:user_name => "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pathname' | |
require 'pp' | |
class HTTPResponseBuilder | |
STATUS_CODES = {100 => "Continue", | |
101 => "Switching Protocols", | |
200 => "OK", | |
201 => "Created", | |
202 => "Accepted", | |
203 => "Non-Authoritative Information", |
NewerOlder