Class: Vk::API::Video::Methods::GetCatalogSection

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

Overview

Returns a separate catalog section

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Video::Methods::GetCatalogSection

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :section_id (String)

    'id' value returned with a block by the '' method.

  • :from (String)

    'next' value returned with a block by the '' method.

  • :count (Integer)

    number of blocks to return.


# File 'lib/vk/api/video/methods/get_catalog_section.rb', line 15

Instance Method Details

#countInteger

Returns number of blocks to return.

Returns:

  • (Integer)

    number of blocks to return.


29
# File 'lib/vk/api/video/methods/get_catalog_section.rb', line 29

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

#fromString

Returns 'next' value returned with a block by the '' method.

Returns:

  • (String)

    'next' value returned with a block by the '' method.


27
# File 'lib/vk/api/video/methods/get_catalog_section.rb', line 27

attribute :from, API::Types::Coercible::String

#section_idString

Returns 'id' value returned with a block by the '' method.

Returns:

  • (String)

    'id' value returned with a block by the '' method.


25
# File 'lib/vk/api/video/methods/get_catalog_section.rb', line 25

attribute :section_id, API::Types::Coercible::String