Sha256: d785502e649dd78d5ee3bb30d62496c6e957b2e46c613d4dfc04d4214756e980

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

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

module Vk
  module API
    class Ads < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Category < Vk::Schema::Object
        # @return [Integer] Category ID
        attribute :id, API::Types::Coercible::Int
        # @return [String] Category name
        attribute :name, API::Types::Coercible::String
        # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :subcategories, API::Types::Coercible::Array.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/ads/category.rb