Module: Twitter::Client::Activity
- Included in:
- Twitter::Client
- Defined in:
- lib/twitter/client/activity.rb
Overview
Defines methods related to URLs
Instance Method Summary collapse
-
#activity_about_me(options = {}) ⇒ Array
Returns activity about me.
-
#activity_by_friends(options = {}) ⇒ Array
Returns activity by friends.
Instance Method Details
#activity_about_me(options = {}) ⇒ Array
Note:
Undocumented
Returns activity about me
21 22 23 24 25 |
# File 'lib/twitter/client/activity.rb', line 21 def activity_about_me(={}) get("/i/activity/about_me.json", , :phoenix => true).map do |action| Twitter::ActionFactory.new(action) end end |
#activity_by_friends(options = {}) ⇒ Array
Note:
Undocumented
Returns activity by friends
40 41 42 43 44 |
# File 'lib/twitter/client/activity.rb', line 40 def activity_by_friends(={}) get("/i/activity/by_friends.json", , :phoenix => true).map do |action| Twitter::ActionFactory.new(action) end end |