Class: Vk::API::Video::Methods::GetAlbumById

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

Overview

Returns video album info

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    identifier of a user or community to add a video to. ; Use a negative value to designate a community ID.

  • :album_id (Integer)

    album ID.


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

Instance Method Details

#album_idInteger

Returns album ID.

Returns:

  • (Integer)

    album ID.


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

attribute :album_id, API::Types::Coercible::Int

#owner_idInteger

Returns identifier of a user or community to add a video to. ; Use a negative value to designate a community ID.

Returns:

  • (Integer)

    identifier of a user or community to add a video to. ; Use a negative value to designate a community ID.


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

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