Class: Vk::API::Account::Methods::GetBanned

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

Overview

Returns a user's blacklist.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Account::Methods::GetBanned

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :offset (Integer)

    Offset needed to return a specific subset of results.

  • :count (Integer)

    Number of results to return.



# File 'lib/vk/api/account/methods/get_banned.rb', line 15

Instance Method Details

#countInteger

Returns Number of results to return.

Returns:

  • (Integer)

    Number of results to return.



26
# File 'lib/vk/api/account/methods/get_banned.rb', line 26

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

#offsetInteger

Returns Offset needed to return a specific subset of results.

Returns:

  • (Integer)

    Offset needed to return a specific subset of results.



24
# File 'lib/vk/api/account/methods/get_banned.rb', line 24

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