Sha256: 76e5762982c928d106f22d1e6b1c57334f125ed6753e3e989a5fe543bc4f120e

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 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 Military < Vk::Schema::Object
        # @return [String] Unit name
        attribute :unit, API::Types::Coercible::String.optional
        # @return [Integer] Unit ID
        attribute :unit_id, API::Types::Coercible::Int.optional
        # @return [Integer] Country ID
        attribute :country_id, API::Types::Coercible::Int.optional
        # @return [Integer] From year
        attribute :from, API::Types::Coercible::Int.optional
        # @return [Integer] Till year
        attribute :until, 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/military.rb