Class: Yt::Collections::LiveCuepoints
- Defined in:
- lib/yt/collections/live_cuepoints.rb
Overview
Provides methods to insert live cuepoints.
Resources with live_cuepoints are: content owners.
Instance Method Summary collapse
Methods inherited from Base
#includes, #initialize, of, #where
Constructor Details
This class inherits a constructor from Yt::Collections::Base
Instance Method Details
#insert(attributes = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/yt/collections/live_cuepoints.rb', line 10 def insert(attributes = {}) underscore_keys! attributes body = attributes.slice(*body_params) params = {on_behalf_of_content_owner: @auth.owner_name} apply_where_params! params do_insert(params: params, body: body) end |