Class: Vk::API::Storage::Methods::Get

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

Overview

Returns a value of variable with the name set by key parameter.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):



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

Instance Method Details

#keyString



25
# File 'lib/vk/api/storage/methods/get.rb', line 25

attribute :key, API::Types::Coercible::String.optional.default(nil)

#keysArray



27
# File 'lib/vk/api/storage/methods/get.rb', line 27

attribute :keys, API::Types::Coercible::Array.member(API::Types::Coercible::String).constrained(max_size: 1000).optional.default(nil)

#user_idInteger



29
# File 'lib/vk/api/storage/methods/get.rb', line 29

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