class Yt::Collections::PartneredChannels

Private Instance Methods

channels_params() click to toggle source

@private @note Partnered Channels overwrites channel_params since the query

is slightly different.
# File lib/yt/collections/partnered_channels.rb, line 12
def channels_params
  super.tap do |params|
    params.delete :mine
    params[:managed_by_me] = true
    params[:on_behalf_of_content_owner] = @auth.owner_name
  end
end
list_resources() click to toggle source

@private @note Partnered Channels overwrites list_resources since the endpoint

to hit is 'channels', not 'partnered_channels'.
# File lib/yt/collections/partnered_channels.rb, line 23
def list_resources
  self.class.superclass.to_s.demodulize
end