Module: TwitterWithAutoPagination::REST::Extension::Unfollowing
- Includes:
- Utils
- Defined in:
- lib/twitter_with_auto_pagination/rest/extension/unfollowing.rb
Constant Summary
Constants included
from Utils
Utils::DEFAULT_CALL_LIMIT
Instance Method Summary
collapse
Methods included from Collector
#collect_with_cursor, #collect_with_max_id
Instance Method Details
#users_which_you_removed(past_me, cur_me) ⇒ Object
Also known as:
removing, unfollowing
9
10
11
12
13
14
|
# File 'lib/twitter_with_auto_pagination/rest/extension/unfollowing.rb', line 9
def users_which_you_removed(past_me, cur_me)
instrument(__method__, nil) do
past_friends, cur_friends = _retrieve_friends(past_me, cur_me)
past_friends.to_a - cur_friends.to_a
end
end
|
#users_who_removed_you(past_me, cur_me) ⇒ Object
Also known as:
removed, unfollowed
19
20
21
22
23
24
|
# File 'lib/twitter_with_auto_pagination/rest/extension/unfollowing.rb', line 19
def users_who_removed_you(past_me, cur_me)
instrument(__method__, nil) do
past_followers, cur_followers = _retrieve_followers(past_me, cur_me)
past_followers.to_a - cur_followers.to_a
end
end
|