Sha256: cb9cec600f6f9a0ba4cc44eeb6ddd6679307ad99fd4fc5dae53c0493735d1abf
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
module VkApiSimple class Photos # Edit image at server module Edit 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vk_api_simple-0.2.4 | lib/vk_api_simple/photos/edit.rb |