Class: Vk::API::Storage::Methods::Set

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

Overview

Saves 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::Set

Parameters:

  • arguments (Hash)

Options Hash (arguments):



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

Instance Method Details

#keyString



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

attribute :key, API::Types::Coercible::String

#user_idInteger



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

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

#valueString



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

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