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