Sha256: ae900a567dd2137e4e82ea021a94b273ea93c077b47826957b9c807c9be613c5
Contents?: true
Size: 369 Bytes
Versions: 5
Compression:
Stored size: 369 Bytes
Contents
module VkApiSimple class Photos # Returns server's url for uploading photos module GetUploadServer def get_upload_server(args = {}) response = RestClient.get("#{BASE_URI}getUploadServer?access_token=#{token}&album_id=#{args[:album_id]}&group_id=#{args[:group_id]}&v=#{api_version}") JSON.parse(response.body) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems