Sha256: c7fe3086fc5fed71cefc62d79d88ec50c935f0c79b3b0d31d0dcbb83ff81698b

Contents?: true

Size: 916 Bytes

Versions: 1

Compression:

Stored size: 916 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Restores recently deleted item
        class Restore < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'market.restore'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of an item owner community.
          #   @option arguments [Integer] :item_id Deleted item ID.
          #   @return [Market::Methods::Restore]

          # @!group Arguments

          # @return [Integer] ID of an item owner community.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Deleted item ID.
          attribute :item_id, API::Types::Coercible::Int.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/market/methods/restore.rb