Module: VkApiSimple::Photos::Get
- Included in:
- VkApiSimple::Photos
- Defined in:
- lib/vk_api_simple/photos/get.rb
Overview
Get photos from server
Instance Method Summary collapse
Instance Method Details
#get(args = {}) ⇒ Object
5 6 7 8 |
# File 'lib/vk_api_simple/photos/get.rb', line 5 def get(args = {}) response = RestClient.get("#{BASE_URI}get?access_token=#{token}&album_id=#{args[:album_id]}&owner_id=#{args[:group_id]}&count=#{args[:count]}&v=#{api_version}") JSON.parse(response.body) end |