Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit ec16ed28538b2cf828183999df90da1942b7bcd6 1 parent ccbdc67
@sferik authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/twitter/api.rb
View
2  lib/twitter/api.rb
@@ -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
#
Please sign in to comment.
Something went wrong with that request. Please try again.