Class: Vk::API::Market::Methods::GetAlbumById

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

Overview

Returns items album's data

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    identifier of an album owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "

  • :album_ids (Array)

    collections identifiers to obtain data from


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

Instance Method Details

#album_idsArray

Returns collections identifiers to obtain data from.

Returns:

  • (Array)

    collections identifiers to obtain data from


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

attribute :album_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int)

#owner_idInteger

Returns identifier of an album owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community ".

Returns:

  • (Integer)

    identifier of an album owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "


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

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