Sha256: 0213ca80ff9aec97579e00a3ad4901d2a9a13f80f873496044dee8ed51b185fb

Contents?: true

Size: 1002 Bytes

Versions: 1

Compression:

Stored size: 1002 Bytes

Contents

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

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Returns a list of market categories.
        class GetCategories < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :count Number of results to return.
          #   @option arguments [Integer] :offset Offset needed to return a specific subset of results.
          #   @return [Market::Methods::GetCategories]

          # @!group Arguments

          # @return [Integer] Number of results to return.
          attribute :count, API::Types::Coercible::Int.optional
          # @return [Integer] Offset needed to return a specific subset of results.
          attribute :offset, 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/get_categories.rb