Class: Vk::API::Market::Methods::GetAlbums

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

Overview

Returns community's collections list.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of an items owner community.

  • :offset (Integer)

    Offset needed to return a specific subset of results.

  • :count (Integer)

    Number of items to return.


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

Instance Method Details

#countInteger

Returns Number of items to return.

Returns:

  • (Integer)

    Number of items to return.


29
# File 'lib/vk/api/market/methods/get_albums.rb', line 29

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

#offsetInteger

Returns Offset needed to return a specific subset of results.

Returns:

  • (Integer)

    Offset needed to return a specific subset of results.


27
# File 'lib/vk/api/market/methods/get_albums.rb', line 27

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

#owner_idInteger

Returns ID of an items owner community.

Returns:

  • (Integer)

    ID of an items owner community.


25
# File 'lib/vk/api/market/methods/get_albums.rb', line 25

attribute :owner_id, API::Types::Coercible::Int