Class: Vk::API::Friends::Methods::GetRecent

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

Overview

Returns a list of user IDs of the current user's recently added friends.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Friends::Methods::GetRecent

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :count (Integer)

    Number of recently added friends to return.



# File 'lib/vk/api/friends/methods/get_recent.rb', line 15

Instance Method Details

#countInteger

Returns Number of recently added friends to return.

Returns:

  • (Integer)

    Number of recently added friends to return.



23
# File 'lib/vk/api/friends/methods/get_recent.rb', line 23

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