Method: Yt::Models::PlaylistItem#update

Defined in:
lib/yt/models/playlist_item.rb

#update(attributes = {}) ⇒ Boolean

Updates the attributes of a playlist item.

Parameters:

  • attributes (Hash) (defaults to: {})

    the attributes to update.

Options Hash (attributes):

  • the (Integer)

    order in which the item should appear in a playlist. The value is zero-based, so the first position of 0.

Returns:

  • (Boolean)

    whether the item was successfully updated.

Raises:



73
74
75
# File 'lib/yt/models/playlist_item.rb', line 73

def update(attributes = {})
  super
end