Class: Vk::API::Market::Methods::GetCategories

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/market/methods/get_categories.rb

Overview

Returns a list of market categories.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Market::Methods::GetCategories

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :count (Integer)

    Number of results to return.

  • :offset (Integer)

    Offset needed to return a specific subset of results.


# File 'lib/vk/api/market/methods/get_categories.rb', line 15

Instance Method Details

#countInteger

Returns Number of results to return.

Returns:

  • (Integer)

    Number of results to return.


24
# File 'lib/vk/api/market/methods/get_categories.rb', line 24

attribute :count, API::Types::Coercible::Int.optional.default(10)

#offsetInteger

Returns Offset needed to return a specific subset of results.

Returns:

  • (Integer)

    Offset needed to return a specific subset of results.


26
# File 'lib/vk/api/market/methods/get_categories.rb', line 26

attribute :offset, API::Types::Coercible::Int.optional.default(nil)