Class: Vk::API::Fave::Methods::GetPhotos

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

Overview

Returns a list of photos 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::GetPhotos

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :offset (Integer)

    Offset needed to return a specific subset of photos.

  • :count (Integer)

    Number of photos to return.

  • :photo_sizes (Boolean)

    '1' — to return photo sizes in a .


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

Instance Method Details

#countInteger

Returns Number of photos to return.

Returns:

  • (Integer)

    Number of photos to return.


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

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

#offsetInteger

Returns Offset needed to return a specific subset of photos.

Returns:

  • (Integer)

    Offset needed to return a specific subset of photos.


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

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

#photo_sizesBoolean

Returns '1' — to return photo sizes in a .

Returns:

  • (Boolean)

    '1' — to return photo sizes in a .


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

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