Class: VkMusic::Request::PlaylistSection
- Defined in:
- lib/vk_music/request/playlist_section.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, offset, client_id) ⇒ PlaylistSection
constructor
Initialize new request.
Methods inherited from Base
Constructor Details
#initialize(owner_id, playlist_id, access_hash, offset, client_id) ⇒ PlaylistSection
Initialize new request
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/vk_music/request/playlist_section.rb', line 13 def initialize(owner_id, playlist_id, access_hash, offset, client_id) @client_id = client_id super( "#{VK_ROOT}/audio", { act: 'load_section', type: 'playlist', offset: offset, utf8: true, owner_id: owner_id, playlist_id: playlist_id, access_hash: access_hash.to_s }, 'GET', {} ) end |