Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Alias Twitter::API#status_activity to Twitter::API#tweet_activity

  • Loading branch information...
commit ccbdc6776a6780277e6ec813d3ed579f42440631 1 parent 75c8147
@sferik authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/twitter/api.rb
View
2  lib/twitter/api.rb
@@ -139,6 +139,7 @@ module API
:trends => true,
:trends_daily => true,
:trends_weekly => true,
+ :tweet_activity => true,
:unblock => false,
:unfavorite => false,
:unfollow => false,
@@ -1981,6 +1982,7 @@ def status_activity(id, options={})
response[:body].merge!(:id => id) if response[:body]
Twitter::Status.from_response(response)
end
+ alias tweet_activity status_activity
# Returns activity summary for statuses
#
Please sign in to comment.
Something went wrong with that request. Please try again.