Class: Vk::API::Account::Methods::UnregisterDevice

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/account/methods/unregister_device.rb

Overview

Unsubscribes a device from push notifications.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Account::Methods::UnregisterDevice

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :device_id (String)

    Unique device ID.


# File 'lib/vk/api/account/methods/unregister_device.rb', line 15

Instance Method Details

#device_idString

Returns Unique device ID.

Returns:

  • (String)

    Unique device ID.


23
# File 'lib/vk/api/account/methods/unregister_device.rb', line 23

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