Sha256: 19dfa708fdb4072812f36c1bb8a2b012fe51985c9674716e14af5b165331a84b

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

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 Personal < Vk::Schema::Object
        # @return [Integer] User's political views
        attribute :political, API::Types::Coercible::Int.optional
        # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :langs, API::Types::Coercible::Array.optional
        # @return [String] User's religion
        attribute :religion, API::Types::Coercible::String.optional
        # @return [String] User's inspired by
        attribute :inspired_by, API::Types::Coercible::String.optional
        # @return [Integer] User's personal priority in people
        attribute :people_main, API::Types::Coercible::Int.optional
        # @return [Integer] User's personal priority in life
        attribute :life_main, API::Types::Coercible::Int.optional
        # @return [Integer] User's views on smoking
        attribute :smoking, API::Types::Coercible::Int.optional
        # @return [Integer] User's views on alcohol
        attribute :alcohol, 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/personal.rb