lib/ury_rapid/services/requests/playlist_reference_parser.rb
def to_valid_id(id)
          Integer(id)
        rescue TypeError, ArgumentError, RangeError
          id.to_s.to_sym
        end
# Validates an incoming playlist ID
#
# Playlist IDs can either be Integers or Symbols.
Validates an incoming playlist ID
Playlist IDs can either be Integers or Symbols.
Validates an incoming playlist ID Playlist IDs can either be Integers or Symbols .
def to_valid_id(id)
          Integer(id)
        rescue TypeError, ArgumentError, RangeError
          id.to_s.to_sym
        end
def to_valid_id ( id ) Integer ( id ) rescue TypeError , ArgumentError , RangeError id . to_s . to_sym end
Validates an incoming playlist ID
Playlist IDs can either be Integers or Symbols.
Validates an incoming playlist ID Playlist IDs can either be Integers or Symbols .
id