Class: Vk::API::Market::MarketCategory

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/market/market_category.rb

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Category ID.

Returns:

  • (Integer)

    Category ID



11
# File 'lib/vk/api/market/market_category.rb', line 11

attribute :id, API::Types::Coercible::Int

#nameString

Returns Category name.

Returns:

  • (String)

    Category name



13
# File 'lib/vk/api/market/market_category.rb', line 13

attribute :name, API::Types::Coercible::String

#sectionAPI::Market::Section



15
# File 'lib/vk/api/market/market_category.rb', line 15

attribute :section, Dry::Types[API::Market::Section]