Method: Yt::Models::PlaylistItem#position

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

#positionInteger

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

Returns:

  • (Integer)

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



51
52
53
# File 'lib/yt/models/playlist_item.rb', line 51

def position
  ensure_complete_snippet :position
end