lib/tw/client/request.rb in tw-0.3.9 vs lib/tw/client/request.rb in tw-0.4.0
- old
+ new
@@ -75,7 +75,22 @@
res = Twitter.direct_message_create to, message
puts res.text
puts res.created_at
end
+ def show_status(status_id)
+ res = Twitter.status(status_id)
+ puts res.text
+ puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}"
+ puts res.created_at
+ end
+
+ def favorite(status_id)
+ Twitter.favorite status_id
+ end
+
+ def retweet(status_id)
+ Twitter.retweet status_id
+ end
+
end
end