/ Published in: Ruby
Sample snip for my twitter wrapper.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
require 'twitter' def test_twitter(username, password) conn = Twitter::Connection.new(username, password) conn.status.update("Is happy to see beautiful Ruby code :)") end