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