Class: Vk::API::Groups::Methods::GetCatalog

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

Overview

Returns communities list for a catalog category.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Groups::Methods::GetCatalog

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :category_id (Integer)

    Category id received from .

  • :subcategory_id (Integer)

    Subcategory id received from .


# File 'lib/vk/api/groups/methods/get_catalog.rb', line 15

Instance Method Details

#category_idInteger

Returns Category id received from .

Returns:

  • (Integer)

    Category id received from .


24
# File 'lib/vk/api/groups/methods/get_catalog.rb', line 24

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

#subcategory_idInteger

Returns Subcategory id received from .

Returns:

  • (Integer)

    Subcategory id received from .


26
# File 'lib/vk/api/groups/methods/get_catalog.rb', line 26

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