Class: Vk::API::Secure::TokenChecked

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/secure/token_checked.rb

Overview

Instance Method Summary collapse

Instance Method Details

#dateInteger

Returns Date when access_token has been generated in Unixtime.

Returns:

  • (Integer)

    Date when access_token has been generated in Unixtime


15
# File 'lib/vk/api/secure/token_checked.rb', line 15

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

#expireInteger

Returns Date when access_token will expire in Unixtime.

Returns:

  • (Integer)

    Date when access_token will expire in Unixtime


17
# File 'lib/vk/api/secure/token_checked.rb', line 17

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

#successAPI::Base::OkResponse

Returns if successfully processed

Returns:


11
# File 'lib/vk/api/secure/token_checked.rb', line 11

attribute :success, API::Base::OkResponse.optional.default(nil)

#user_idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID


13
# File 'lib/vk/api/secure/token_checked.rb', line 13

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