class Yt::Collections::FileDetails
@private
Private Instance Methods
Source
# File lib/yt/collections/file_details.rb, line 11 def attributes_for_new_item(data) {data: data['fileDetails']} end
Source
# File lib/yt/collections/file_details.rb, line 25 def file_details_params {max_results: 50, part: 'fileDetails', id: @parent.id} end
Source
# File lib/yt/collections/file_details.rb, line 18 def list_params super.tap do |params| params[:params] = file_details_params params[:path] = '/youtube/v3/videos' end end
@return [Hash] the parameters to submit to YouTube to get the
file detail of a video.
@see developers.google.com/youtube/v3/docs/videos#fileDetails
Calls superclass method
Yt::Actions::List#list_params