Sha256: 4881f313f66fe4a72588dfe8da6d7b2394b96cacf8402b1b11ba04a2fb6c993a

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module VkApiSimple
  class Photos
    # Delete image from server
    module Delete
      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk_api_simple-0.2.4 lib/vk_api_simple/photos/delete.rb