Class: Vk::API::Storage::Methods::Set
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Storage::Methods::Set
- 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
- #initialize(arguments) ⇒ Storage::Methods::Set constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#key ⇒ String
25 |
# File 'lib/vk/api/storage/methods/set.rb', line 25 attribute :key, API::Types::Coercible::String |
#user_id ⇒ Integer
29 |
# File 'lib/vk/api/storage/methods/set.rb', line 29 attribute :user_id, API::Types::Coercible::Int.optional.default(nil) |