Sha256: 1419cbb95b10657db2578f00eab12fc3e982fdf55ae5fc46c3af74045a812f78

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 Bytes

Contents

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

module Vk
  module API
    class Users < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class User < API::Users::UserMin
        # @return [Integer] User sex
        attribute :sex, API::Types::Coercible::Int.optional
        # @return [String] Domain name of the user's page
        attribute :screen_name, API::Types::Coercible::String.optional
        # @return [String] URL of square photo of the user with 50 pixels in width
        attribute :photo_50, API::Types::Coercible::String.optional
        # @return [String] URL of square photo of the user with 100 pixels in width
        attribute :photo_100, API::Types::Coercible::String.optional
        # @return [Integer] Information whether the user is online
        attribute :online, 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/users/user.rb