Class: SpotifyWebApi::AlbumTypeEnum
- Inherits:
-
Object
- Object
- SpotifyWebApi::AlbumTypeEnum
- Defined in:
- lib/spotify_web_api/models/album_type_enum.rb
Overview
The type of the album.
Constant Summary collapse
- ALBUM_TYPE_ENUM =
[ # TODO: Write general description for ALBUM ALBUM = 'album'.freeze, # TODO: Write general description for SINGLE SINGLE = 'single'.freeze, # TODO: Write general description for COMPILATION COMPILATION = 'compilation'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
20 21 22 23 24 |
# File 'lib/spotify_web_api/models/album_type_enum.rb', line 20 def self.validate(value) return false if value.nil? ALBUM_TYPE_ENUM.include?(value) end |