Class: Vk::API::Account::Methods::SetPushSettings
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Account::Methods::SetPushSettings
- Defined in:
- lib/vk/api/account/methods/set_push_settings.rb
Overview
Change push settings.
Arguments collapse
-
#device_id ⇒ String
Unique device ID.
-
#key ⇒ String
Notification key.
-
#settings ⇒ String
Push settings in a .
-
#value ⇒ Array
New value for the key in a .
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Account::Methods::SetPushSettings
|
# File 'lib/vk/api/account/methods/set_push_settings.rb', line 15
|
Instance Method Details
#device_id ⇒ String
Returns Unique device ID.
26 |
# File 'lib/vk/api/account/methods/set_push_settings.rb', line 26 attribute :device_id, API::Types::Coercible::String |
#key ⇒ String
Returns Notification key.
30 |
# File 'lib/vk/api/account/methods/set_push_settings.rb', line 30 attribute :key, API::Types::Coercible::String.optional.default(nil) |