Sha256: 01a3c1bfc5a96d7a07b871ff15f15dab5caf2d209891b90eeea8c9d44453d543

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

module VkApiSimple
  class Market
    # Delete image from market
    module Delete
      def delete(args = {})
        response = RestClient.get("#{BASE_URI}delete?access_token=#{token}&owner_id=-#{args[:owner_id]}&item_id=#{args[:item_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/market/delete.rb