Class: Vk::API::Market::MarketCategory
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Market::MarketCategory
- Defined in:
- lib/vk/api/market/market_category.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Category ID.
-
#name ⇒ String
Category name.
- #section ⇒ API::Market::Section
Instance Method Details
#id ⇒ Integer
Returns Category ID.
11 |
# File 'lib/vk/api/market/market_category.rb', line 11 attribute :id, API::Types::Coercible::Int |
#name ⇒ String
Returns Category name.
13 |
# File 'lib/vk/api/market/market_category.rb', line 13 attribute :name, API::Types::Coercible::String |
#section ⇒ API::Market::Section
15 |
# File 'lib/vk/api/market/market_category.rb', line 15 attribute :section, Dry::Types[API::Market::Section] |