Class: Vk::API::Storage::Methods::GetKeys

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

Overview

Returns the names of all variables.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Storage::Methods::GetKeys

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :user_id (Integer)

    user id, whose variables names are returned if they were requested with a server method.

  • :count (Integer)

    amount of variable names the info needs to be collected from.


# File 'lib/vk/api/storage/methods/get_keys.rb', line 15

Instance Method Details

#countInteger

Returns amount of variable names the info needs to be collected from.

Returns:

  • (Integer)

    amount of variable names the info needs to be collected from.


26
# File 'lib/vk/api/storage/methods/get_keys.rb', line 26

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

#user_idInteger

Returns user id, whose variables names are returned if they were requested with a server method.

Returns:

  • (Integer)

    user id, whose variables names are returned if they were requested with a server method.


24
# File 'lib/vk/api/storage/methods/get_keys.rb', line 24

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