module VkApiSimple::Photos::Get
Get
photos from server
Public Instance Methods
get(args = {})
click to toggle source
# 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