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