class VkMusic::Request::WallSection
Wall in JSON sections request
Public Class Methods
new(owner_id, post_id, client_id)
click to toggle source
Initialize new request @param owner_id [Integer] @param post_id [Integer] @param offset [Integer] @param client_id [Integer]
Calls superclass method
VkMusic::Request::Base::new
# File lib/vk_music/request/wall_section.rb, line 12 def initialize(owner_id, post_id, client_id) @client_id = client_id super( "#{VK_ROOT}/audio", { act: 'load_section', type: 'wall', utf8: true, owner_id: owner_id, post_id: post_id, wall_type: 'own' }, 'GET', {} ) end
Private Instance Methods
after_call()
click to toggle source
# File lib/vk_music/request/wall_section.rb, line 29 def after_call @parser = WebParser::WallSection.new(@response, client_id: @client_id) end