Class: SpotifyWebApi::TypeEnum
- Inherits:
-
Object
- Object
- SpotifyWebApi::TypeEnum
- Defined in:
- lib/spotify_web_api/models/type_enum.rb
Overview
The object type.
Constant Summary collapse
- TYPE_ENUM =
[ # TODO: Write general description for ARTIST ARTIST = 'artist'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
14 15 16 17 18 |
# File 'lib/spotify_web_api/models/type_enum.rb', line 14 def self.validate(value) return false if value.nil? TYPE_ENUM.include?(value) end |