Sha256: df34303ffe47128686d784e924c364f6ee5f5bc781cf04836ae0115696c1eb1a
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 Bytes
Contents
module VkApiSimple class Photos # Save uploaded image at server module SaveMarketPhoto def save_market_photo(args = {}) response = RestClient.post("#{BASE_URI}saveMarketPhoto?access_token=#{token}&group_id=#{args[:group_id]}&server=#{args[:server]}&photo=#{args[:photo]}&hash=#{args[:hash]}&crop_data=#{args[:crop_data]}&crop_hash=#{args[:crop_hash]}&v=#{api_version}") 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.1 | lib/vk_api_simple/photos/save_market_photo.rb |