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