Module: TwitterWithAutoPagination::REST::Extension::Users

Includes:
Utils
Defined in:
lib/twitter_with_auto_pagination/rest/extension/users.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

#blocking_or_blocked(past_me, cur_me) ⇒ Object



9
10
11
12
13
# File 'lib/twitter_with_auto_pagination/rest/extension/users.rb', line 9

def blocking_or_blocked(past_me, cur_me)
  instrument(__method__, nil) do
    removing(past_me, cur_me).to_a & removed(past_me, cur_me).to_a
  end
end