Sha256: 745ff8de223cc7679463775fd3cc633cd6df4c7d7b038c0e8da8670e98ae12ad
Contents?: true
Size: 440 Bytes
Versions: 1
Compression:
Stored size: 440 Bytes
Contents
module VkApiSimple class Market # Save uploaded image at server module Add def add(args = {}) response = RestClient.post("#{BASE_URI}save?access_token=#{token}&owner_id=-#{args[:owner_id]}&category_id=#{args[:category_id]}&price=#{args[:price]}&main_photo_id=#{args[:main_photo_id]}&v=#{api_version}", name: args[:name], description: args[:description]) 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.2 | lib/vk_api_simple/market/add.rb |