Class: Vk::API::Fave::Methods::GetVideos

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/fave/methods/get_videos.rb

Overview

Returns a list of videos that the current user has liked.;

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Fave::Methods::GetVideos

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :offset (Integer)

    Offset needed to return a specific subset of videos.

  • :count (Integer)

    Number of videos to return.

  • :extended (Boolean)

    Return an additional information about videos. Also returns all owners profiles and groups.



# File 'lib/vk/api/fave/methods/get_videos.rb', line 15

Instance Method Details

#countInteger

Returns Number of videos to return.

Returns:

  • (Integer)

    Number of videos to return.



27
# File 'lib/vk/api/fave/methods/get_videos.rb', line 27

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

#extendedBoolean

Return an additional information about videos. Also returns all owners profiles and groups.

Returns:

  • (Boolean)

    Return an additional information about videos. Also returns all owners profiles and groups.



29
# File 'lib/vk/api/fave/methods/get_videos.rb', line 29

attribute :extended, API::Types::Form::Bool.optional.default(nil)

#offsetInteger

Returns Offset needed to return a specific subset of videos.

Returns:

  • (Integer)

    Offset needed to return a specific subset of videos.



25
# File 'lib/vk/api/fave/methods/get_videos.rb', line 25

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