Class: SpotifyWebApi::IncludeExternalEnum
- Inherits:
-
Object
- Object
- SpotifyWebApi::IncludeExternalEnum
- Defined in:
- lib/spotify_web_api/models/include_external_enum.rb
Overview
If ‘include_external=audio` is specified it signals that the client can play externally hosted audio content, and marks the content as playable in the response. By default externally hosted audio content is marked as unplayable in the response.
Constant Summary collapse
- INCLUDE_EXTERNAL_ENUM =
[ # TODO: Write general description for AUDIO AUDIO = 'audio'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/spotify_web_api/models/include_external_enum.rb', line 17 def self.validate(value) return false if value.nil? INCLUDE_EXTERNAL_ENUM.include?(value) end |