Skip to content

Commit

Permalink
Alias Twitter::API#status_destroy to Twitter::API#tweet_destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Aug 9, 2012
1 parent ccbdc67 commit ec16ed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/twitter/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ module API
:trends_daily => true,
:trends_weekly => true,
:tweet_activity => true,
:tweet_destroy => false,
:unblock => false,
:unfavorite => false,
:unfollow => false,
Expand Down Expand Up @@ -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
#
Expand Down

0 comments on commit ec16ed2

Please sign in to comment.