Sha256: dc62d95093f315cdf36dd17263810c6c8216f43a7d45e4a3d87a14b1c81cd7b0

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Database < Vk::Schema::Namespace
      module Methods
        # Returns a list of faculties (i.e., university departments).;
        class GetFaculties < Schema::Method
          # @!group Properties

          self.open = true
          self.method = 'database.getFaculties'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :university_id University ID.
          #   @option arguments [Integer] :offset Offset needed to return a specific subset of faculties.
          #   @option arguments [Integer] :count Number of faculties to return.
          #   @return [Database::Methods::GetFaculties]

          # @!group Arguments

          # @return [Integer] University ID.
          attribute :university_id, API::Types::Coercible::Int.optional
          # @return [Integer] Offset needed to return a specific subset of faculties.
          attribute :offset, API::Types::Coercible::Int.optional
          # @return [Integer] Number of faculties to return.
          attribute :count, API::Types::Coercible::Int.optional
        end
      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/database/methods/get_faculties.rb