Class: Vk::API::Auth::Methods::CheckPhone
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Auth::Methods::CheckPhone
- Defined in:
- lib/vk/api/auth/methods/check_phone.rb
Overview
Checks a user's phone number for correctness.
Arguments collapse
- #auth_by_phone ⇒ Boolean
-
#client_id ⇒ Integer
User ID.
- #client_secret ⇒ String
-
#phone ⇒ String
Phone number.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Auth::Methods::CheckPhone
|
# File 'lib/vk/api/auth/methods/check_phone.rb', line 15
|
Instance Method Details
#auth_by_phone ⇒ Boolean
32 |
# File 'lib/vk/api/auth/methods/check_phone.rb', line 32 attribute :auth_by_phone, API::Types::Form::Bool.optional.default(nil) |
#client_id ⇒ Integer
Returns User ID.
28 |
# File 'lib/vk/api/auth/methods/check_phone.rb', line 28 attribute :client_id, API::Types::Coercible::Int.optional.default(nil) |