Module: Spotted::Internal::Type::RequestParameters Private
- Included in:
- Models::AlbumListParams, Models::AlbumListTracksParams, Models::AlbumRetrieveParams, Models::ArtistListAlbumsParams, Models::ArtistListParams, Models::ArtistListRelatedArtistsParams, Models::ArtistListTopTracksParams, Models::ArtistRetrieveParams, Models::AudioAnalysisRetrieveParams, Models::AudioFeatureListParams, Models::AudioFeatureRetrieveParams, Models::AudiobookListChaptersParams, Models::AudiobookListParams, Models::AudiobookRetrieveParams, Models::Browse::CategoryGetPlaylistsParams, Models::Browse::CategoryListParams, Models::Browse::CategoryRetrieveParams, Models::BrowseGetFeaturedPlaylistsParams, Models::BrowseGetNewReleasesParams, Models::ChapterListParams, Models::ChapterRetrieveParams, Models::EpisodeListParams, Models::EpisodeRetrieveParams, Models::MarketListParams, Models::Me::AlbumCheckParams, Models::Me::AlbumListParams, Models::Me::AlbumRemoveParams, Models::Me::AlbumSaveParams, Models::Me::AudiobookCheckParams, Models::Me::AudiobookListParams, Models::Me::AudiobookRemoveParams, Models::Me::AudiobookSaveParams, Models::Me::EpisodeCheckParams, Models::Me::EpisodeListParams, Models::Me::EpisodeRemoveParams, Models::Me::EpisodeSaveParams, Models::Me::FollowingCheckParams, Models::Me::FollowingFollowParams, Models::Me::FollowingListParams, Models::Me::FollowingUnfollowParams, Models::Me::Player::QueueAddParams, Models::Me::Player::QueueGetParams, Models::Me::PlayerGetCurrentlyPlayingParams, Models::Me::PlayerGetDevicesParams, Models::Me::PlayerGetStateParams, Models::Me::PlayerListRecentlyPlayedParams, Models::Me::PlayerPausePlaybackParams, Models::Me::PlayerSeekToPositionParams, Models::Me::PlayerSetRepeatModeParams, Models::Me::PlayerSetVolumeParams, Models::Me::PlayerSkipNextParams, Models::Me::PlayerSkipPreviousParams, Models::Me::PlayerStartPlaybackParams, Models::Me::PlayerToggleShuffleParams, Models::Me::PlayerTransferParams, Models::Me::PlaylistListParams, Models::Me::ShowCheckParams, Models::Me::ShowListParams, Models::Me::ShowRemoveParams, Models::Me::ShowSaveParams, Models::Me::TopListTopArtistsParams, Models::Me::TopListTopTracksParams, Models::Me::TrackCheckParams, Models::Me::TrackListParams, Models::Me::TrackRemoveParams, Models::Me::TrackSaveParams, Models::MeRetrieveParams, Models::PlaylistRetrieveParams, Models::PlaylistUpdateParams, Models::Playlists::FollowerCheckParams, Models::Playlists::FollowerFollowParams, Models::Playlists::FollowerUnfollowParams, Models::Playlists::ImageListParams, Models::Playlists::ImageUpdateParams, Models::Playlists::TrackAddParams, Models::Playlists::TrackListParams, Models::Playlists::TrackRemoveParams, Models::Playlists::TrackUpdateParams, Models::RecommendationGetParams, Models::RecommendationListAvailableGenreSeedsParams, Models::SearchRetrieveParams, Models::ShowListEpisodesParams, Models::ShowListParams, Models::ShowRetrieveParams, Models::TrackListParams, Models::TrackRetrieveParams, Models::UserRetrieveProfileParams, Models::Users::PlaylistCreateParams, Models::Users::PlaylistListParams, Models::WebhookUnwrapParams
- Defined in:
- lib/spotted/internal/type/request_parameters.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: Converter
Instance Attribute Summary collapse
-
#request_options ⇒ Object
Options to specify HTTP behaviour for this request.
Class Method Summary collapse
- .included(mod) ⇒ Object private
Instance Attribute Details
#request_options ⇒ Object
Options to specify HTTP behaviour for this request.
@return [Spotted::RequestOptions, Hash{Symbol=>Object}]
|
|
# File 'lib/spotted/internal/type/request_parameters.rb', line 8
|
Class Method Details
.included(mod) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 17 18 |
# File 'lib/spotted/internal/type/request_parameters.rb', line 14 def self.included(mod) raise ArgumentError.new(mod) unless mod <= Spotted::Internal::Type::BaseModel mod.optional(:request_options, Spotted::RequestOptions) end |