Sha256: 7747b396680fe2f48db7ef39d27cf0c42ca714cc354db3b652fc7f3142fa3b8b

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Account < Vk::Schema::Namespace
      module Methods
        # Unsubscribes a device from push notifications.
        class UnregisterDevice < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'account.unregisterDevice'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :device_id Unique device ID.
          #   @return [Account::Methods::UnregisterDevice]

          # @!group Arguments

          # @return [String] Unique device ID.
          attribute :device_id, API::Types::Coercible::String.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/account/methods/unregister_device.rb