Class: Vk::API::Video::Methods::GetUserVideos

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

Overview

Returns list of videos in which the user is tagged.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :user_id (Integer)

    User ID.

  • :offset (Integer)

    Offset needed to return a specific subset of videos.

  • :count (Integer)

    Number of videos to return.



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

Instance Method Details

#countInteger

Returns Number of videos to return.

Returns:

  • (Integer)

    Number of videos to return.



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

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

#offsetInteger

Returns Offset needed to return a specific subset of videos.

Returns:

  • (Integer)

    Offset needed to return a specific subset of videos.



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

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

#user_idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID.



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

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