examples/friends_timeline.rb in jugyo-rubytter-0.3.1 vs examples/friends_timeline.rb in jugyo-rubytter-0.3.2
- old
+ new
@@ -7,8 +7,8 @@
puts "Usage: ruby #{File.basename(__FILE__)} user_id password"
exit
end
client = Rubytter.new(ARGV[0], ARGV[1])
-client.friends_timeline().each do |status|
+client.friends_timeline.each do |status|
puts "#{status.user.screen_name}: #{status.text}"
end