Method: Yt::Models::VideoGroup#channels
- Defined in:
- lib/yt/models/video_group.rb
#channels ⇒ Object
180 181 182 183 184 185 186 |
# File 'lib/yt/models/video_group.rb', line 180 def channels all_channel_ids.each_slice(50).flat_map do |channel_ids| conditions = {id: channel_ids.join(',')} conditions[:part] = 'snippet' Collections::Channels.new(auth: @auth).where(conditions).map(&:itself) end end |