class Yt::Collections::BulkReportJobs
@private
Private Instance Methods
attributes_for_new_item(data)
click to toggle source
# File lib/yt/collections/bulk_report_jobs.rb, line 11 def attributes_for_new_item(data) {id: data['id'], auth: @auth, report_type_id: data['reportTypeId']} end
items_key()
click to toggle source
# File lib/yt/collections/bulk_report_jobs.rb, line 23 def items_key 'jobs' end
list_params()
click to toggle source
Calls superclass method
Yt::Actions::List#list_params
# File lib/yt/collections/bulk_report_jobs.rb, line 15 def list_params super.tap do |params| params[:host] = 'youtubereporting.googleapis.com' params[:path] = "/v1/jobs" params[:params] = {on_behalf_of_content_owner: @parent.owner_name} end end