class Yt::Collections::PartneredChannels
Private Instance Methods
Source
# 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
@private @note Partnered Channels
overwrites channel_params
since the query
is slightly different.
Calls superclass method
Yt::Collections::Channels#channels_params
Source
# File lib/yt/collections/partnered_channels.rb, line 23 def list_resources self.class.superclass.to_s.demodulize end
@private @note Partnered Channels
overwrites list_resources
since the endpoint
to hit is 'channels', not 'partnered_channels'.