Class: VkMusic::Request::Post

Inherits:
Base
  • Object
show all
Defined in:
lib/vk_music/request/post.rb

Overview

Post page

Instance Attribute Summary

Attributes inherited from Base

#data, #headers, #method, #path, #response

Instance Method Summary collapse

Methods inherited from Base

#call

Constructor Details

#initialize(owner_id, post_id, client_id) ⇒ Post

Initialize new request



8
9
10
11
# File 'lib/vk_music/request/post.rb', line 8

def initialize(owner_id, post_id, client_id)
  @client_id = client_id
  super("#{VK_ROOT}/wall#{owner_id}_#{post_id}", {}, 'GET', {})
end