Class: Vk::API::Users::LastSeen

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/users/last_seen.rb

Overview

Instance Method Summary collapse

Instance Method Details

#platformInteger

Returns Type of the platform that used for the last authorization.

Returns:

  • (Integer)

    Type of the platform that used for the last authorization


13
# File 'lib/vk/api/users/last_seen.rb', line 13

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

#timeInteger

Returns Last visit date (in Unix time).

Returns:

  • (Integer)

    Last visit date (in Unix time)


11
# File 'lib/vk/api/users/last_seen.rb', line 11

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