Class: VkMusic::Request::Playlist
- Defined in:
- lib/vk_music/request/playlist.rb
Overview
Playlist in web-mobile request
Instance Attribute Summary
Attributes inherited from Base
#data, #headers, #method, #path, #response
Instance Method Summary collapse
-
#initialize(owner_id, playlist_id, access_hash, client_id) ⇒ Playlist
constructor
Initialize new request.
Methods inherited from Base
Constructor Details
#initialize(owner_id, playlist_id, access_hash, client_id) ⇒ Playlist
Initialize new request
12 13 14 15 16 17 18 19 20 |
# File 'lib/vk_music/request/playlist.rb', line 12 def initialize(owner_id, playlist_id, access_hash, client_id) @client_id = client_id super( "#{VK_ROOT}/audio", { act: "audio_playlist#{owner_id}_#{playlist_id}", access_hash: access_hash }, 'GET', {} ) end |