Sha256: e86f79e3c9415b5dabcdcea572b4824c9e359581b71eb0605338bc1e767c2c9f
Contents?: true
Size: 264 Bytes
Versions: 5
Compression:
Stored size: 264 Bytes
Contents
module VkApiSimple class Photos # Upload image to server module UploadImage def upload_image(args = {}) response = RestClient.post(args[:url], file1: File.open(args[:filename])) JSON.parse(response.body) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems