samples/update_profile_image.rb in tw-1.0.1 vs samples/update_profile_image.rb in tw-1.0.2
- old
+ new
@@ -13,7 +13,7 @@
client = Tw::Client.new
client.auth user
File.open icon do |f|
- puts 'upload success' if Twitter.update_profile_image f
+ puts 'upload success' if Tw::Client.client.update_profile_image f
end