module VkApiSimple::Photos::Save
Save
uploaded image at server
Public Instance Methods
save(args = {})
click to toggle source
# File lib/vk_api_simple/photos/save.rb, line 5 def save(args = {}) response = RestClient.post("#{BASE_URI}save?access_token=#{token}&album_id=#{args[:album_id]}&group_id=#{args[:group_id]}&server=#{args[:server]}&photos_list=#{args[:photos_list]}&hash=#{args[:hash]}&v=#{api_version}", caption: args[:caption]) JSON.parse(response.body) end