Class: Vk::API::Auth::Methods::Restore

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/auth/methods/restore.rb

Overview

Allows to restore account access using a code received via SMS.; ; " This method is only available for apps with access. "

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Auth::Methods::Restore

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :phone (String)

    user phone number.


# File 'lib/vk/api/auth/methods/restore.rb', line 15

Instance Method Details

#phoneString

Returns user phone number.

Returns:

  • (String)

    user phone number.


23
# File 'lib/vk/api/auth/methods/restore.rb', line 23

attribute :phone, API::Types::Coercible::String