Class: Vk::API::Auth::Methods::Confirm
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Auth::Methods::Confirm
- Defined in:
- lib/vk/api/auth/methods/confirm.rb
Overview
Completes a user's registration (begun with the method) using an authorization code.
Arguments collapse
- #client_id ⇒ Integer
- #client_secret ⇒ String
- #code ⇒ String
- #intro ⇒ Integer
- #password ⇒ String
- #phone ⇒ String
- #test_mode ⇒ Boolean
Instance Method Summary collapse
- #initialize(arguments) ⇒ Auth::Methods::Confirm constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Auth::Methods::Confirm
|
# File 'lib/vk/api/auth/methods/confirm.rb', line 15
|
Instance Method Details
#client_id ⇒ Integer
29 |
# File 'lib/vk/api/auth/methods/confirm.rb', line 29 attribute :client_id, API::Types::Coercible::Int |
#client_secret ⇒ String
31 |
# File 'lib/vk/api/auth/methods/confirm.rb', line 31 attribute :client_secret, API::Types::Coercible::String |
#code ⇒ String
35 |
# File 'lib/vk/api/auth/methods/confirm.rb', line 35 attribute :code, API::Types::Coercible::String |
#intro ⇒ Integer
41 |
# File 'lib/vk/api/auth/methods/confirm.rb', line 41 attribute :intro, API::Types::Coercible::Int.optional.default(nil) |
#password ⇒ String
37 |
# File 'lib/vk/api/auth/methods/confirm.rb', line 37 attribute :password, API::Types::Coercible::String.optional.default(nil) |
#phone ⇒ String
33 |
# File 'lib/vk/api/auth/methods/confirm.rb', line 33 attribute :phone, API::Types::Coercible::String |