Sha256: dfa61e7bdb4333ce159fb1885b396bb73ad4f9fc82d0eb0019c575441f4e3c64

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

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

module Vk
  module API
    class Account < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Info < Vk::Schema::Object
        # @return [String] Country code
        attribute :country, API::Types::Coercible::String.optional
        # @return [API::Base::BoolInt] Information whether HTTPS-only is enabled
        attribute :https_required, API::Base::BoolInt.optional
        # @return [API::Base::BoolInt] Information whether only owners posts should be shown
        attribute :own_posts_default, API::Base::BoolInt.optional
        # @return [API::Base::BoolInt] Information whether wall comments should be hidden
        attribute :no_wall_replies, API::Base::BoolInt.optional
        # @return [API::Base::BoolInt] Information whether user has been processed intro
        attribute :intro, API::Base::BoolInt.optional
        # @return [Integer] Language ID
        attribute :lang, 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/account/info.rb