Class: Vk::API::Secure::Methods::SetCounter
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Secure::Methods::SetCounter
- Defined in:
- lib/vk/api/secure/methods/set_counter.rb
Overview
Sets a counter which is shown to the user in bold in the left menu.
Arguments collapse
-
#counter ⇒ Integer
Counter value.
- #counters ⇒ Array
- #user_id ⇒ Integer
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Secure::Methods::SetCounter
|
# File 'lib/vk/api/secure/methods/set_counter.rb', line 15
|
Instance Method Details
#counter ⇒ Integer
Returns counter value.
29 |
# File 'lib/vk/api/secure/methods/set_counter.rb', line 29 attribute :counter, API::Types::Coercible::Int.optional.default(nil) |
#counters ⇒ Array
25 |
# File 'lib/vk/api/secure/methods/set_counter.rb', line 25 attribute :counters, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |