lib/turntabler/playlist.rb
def update(attributes = {})
      assert_valid_keys(attributes, :id)

      # Update id
      id = attributes.delete(:id)
      update_id(id) if id

      true
    end
def update(attributes = {})
      assert_valid_keys(attributes, :id)

      # Update id
      id = attributes.delete(:id)
      update_id(id) if id

      true
    end
def update ( attributes = { } ) assert_valid_keys ( attributes , :id ) # Update id id = attributes . delete ( :id ) update_id ( id ) if id true end
Updates this playlist's information.

 @param [Hash] attributes The attributes to update
 @option attributes [String] :id
 @return [true]
 @raise [ArgumentError] if an invalid attribute or value is specified
 @raise [Turntabler::Error] if the command fails
 @example
   playlist.update(:id => "rock")  # => true
Updates this playlist s information .