Class: Vk::API::Auth::Methods::Confirm

Inherits:
Schema::Method show all
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

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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


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

Instance Method Details

#client_idInteger


29
# File 'lib/vk/api/auth/methods/confirm.rb', line 29

attribute :client_id, API::Types::Coercible::Int

#client_secretString


31
# File 'lib/vk/api/auth/methods/confirm.rb', line 31

attribute :client_secret, API::Types::Coercible::String

#codeString


35
# File 'lib/vk/api/auth/methods/confirm.rb', line 35

attribute :code, API::Types::Coercible::String

#introInteger


41
# File 'lib/vk/api/auth/methods/confirm.rb', line 41

attribute :intro, API::Types::Coercible::Int.optional.default(nil)

#passwordString


37
# File 'lib/vk/api/auth/methods/confirm.rb', line 37

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

#phoneString


33
# File 'lib/vk/api/auth/methods/confirm.rb', line 33

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

#test_modeBoolean


39
# File 'lib/vk/api/auth/methods/confirm.rb', line 39

attribute :test_mode, API::Types::Form::Bool.optional.default(nil)