Reputation: 266950
What rails gems are used for things like http requests (get, post) and for connecting to a ftp server?
Upvotes: 2
Views: 137
Reputation: 33954
Coreyward is correct.
If you find that you need to go lower-level, you can also look into socket programming.
Ex: http://www.tutorialspoint.com/ruby/ruby_socket_programming.htm
Upvotes: 1
Reputation: 80041
The de-facto library is Net::HTTP and Net::FTP (respectively), but there are a number of better ones out there. Check out this fairly inclusive feature matrix to see which one fits your needs best:
Ruby HTTP Clients – Feature Matrix/Table
Upvotes: 4