Sha256: 9486574a40e9de56d85fcd995c4a5a5f7d9be83238bf9203894c02490a8e996c

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

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

module Vk
  module API
    class Market < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class MarketCategory < Vk::Schema::Object
        # @return [Integer] Category ID
        attribute :id, API::Types::Coercible::Int
        # @return [String] Category name
        attribute :name, API::Types::Coercible::String
        # @return [API::Market::Section] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :section, Dry::Types[API::Market::Section]
      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/market/market_category.rb