Skip to content

Commit

Permalink
Alias Twitter::API#status_activity to Twitter::API#tweet_activity
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Aug 9, 2012
1 parent 75c8147 commit ccbdc67
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 @@ -139,6 +139,7 @@ module API
:trends => true,
:trends_daily => true,
:trends_weekly => true,
:tweet_activity => true,
:unblock => false,
:unfavorite => false,
:unfollow => false,
Expand Down Expand Up @@ -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
#
Expand Down

0 comments on commit ccbdc67

Please sign in to comment.