Permalink
Browse files

Alias Twitter::API#status_destroy to Twitter::API#tweet_destroy

  • Loading branch information...
sferik committed Aug 9, 2012
1 parent ccbdc67 commit ec16ed28538b2cf828183999df90da1942b7bcd6
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/twitter/api.rb
View
@@ -140,6 +140,7 @@ module API
:trends_daily => true,
:trends_weekly => true,
:tweet_activity => true,
+ :tweet_destroy => false,
:unblock => false,
:unfavorite => false,
:unfollow => false,
@@ -2074,6 +2075,7 @@ def oembeds(*args)
def status_destroy(*args)
threaded_statuses_from_response(:delete, "/1/statuses/destroy", args)
end
+ alias tweet_destroy status_destroy
# Retweets tweets
#

0 comments on commit ec16ed2

Please sign in to comment.