Sha256: 9d51c2098b1dd33591db18698b3a297952ffd4f8eda371841cd3d67332de6a0d
Contents?: true
Size: 373 Bytes
Versions: 4
Compression:
Stored size: 373 Bytes
Contents
module VkApiSimple class Photos # Returns server's url for uploading photos module GetMarketUploadServer def get_market_upload_server(args = {}) response = RestClient.get("#{BASE_URI}getMarketUploadServer?access_token=#{token}&main_photo=1&group_id=#{args[:group_id]}&v=#{api_version}") JSON.parse(response.body) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems