Class: Vk::API::Secure::Methods::SetUserLevel
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Secure::Methods::SetUserLevel
- Defined in:
- lib/vk/api/secure/methods/set_user_level.rb
Overview
Sets user game level in the application which can be seen by his/her friends.
Arguments collapse
-
#level ⇒ Integer
Level value.
- #levels ⇒ Array
- #user_id ⇒ Integer
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Secure::Methods::SetUserLevel
|
# File 'lib/vk/api/secure/methods/set_user_level.rb', line 15
|
Instance Method Details
#level ⇒ Integer
Returns level value.
29 |
# File 'lib/vk/api/secure/methods/set_user_level.rb', line 29 attribute :level, API::Types::Coercible::Int.optional.default(nil) |
#levels ⇒ Array
25 |
# File 'lib/vk/api/secure/methods/set_user_level.rb', line 25 attribute :levels, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |