Sha256: 78a3b34cf7fc464c7a560809b130698cb0322ebca0cdc931ebd13a5c6782fd40

Contents?: true

Size: 817 Bytes

Versions: 1

Compression:

Stored size: 817 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Secure < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class TokenChecked < Vk::Schema::Object
        # @return [API::Base::OkResponse] Returns if successfully processed
        attribute :success, API::Base::OkResponse.optional
        # @return [Integer] User ID
        attribute :user_id, API::Types::Coercible::Int.optional
        # @return [Integer] Date when access_token has been generated in Unixtime
        attribute :date, API::Types::Coercible::Int.optional
        # @return [Integer] Date when access_token will expire in Unixtime
        attribute :expire, API::Types::Coercible::Int.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/secure/token_checked.rb