Class: Yt::Collections::PartneredChannels

Inherits:
Channels show all
Defined in:
lib/yt/collections/partnered_channels.rb

Instance Method Summary collapse

Methods inherited from Resources

#delete_all, #insert

Methods inherited from Base

#initialize, of, #where

Methods included from Actions::List

#first!

Constructor Details

This class inherits a constructor from Yt::Collections::Base

Instance Method Details

#includes(relationship) ⇒ Object



7
8
9
10
11
12
# File 'lib/yt/collections/partnered_channels.rb', line 7

def includes(relationship)
  self.tap do
    @items = []
    @includes_relationship = relationship
  end
end