Class: Vk::API::Ads::Category
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Ads::Category
- Defined in:
- lib/vk/api/ads/category.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Category ID.
-
#name ⇒ String
Category name.
- #subcategories ⇒ Array
Instance Method Details
#id ⇒ Integer
11 |
# File 'lib/vk/api/ads/category.rb', line 11 attribute :id, API::Types::Coercible::Int |
#name ⇒ String
13 |
# File 'lib/vk/api/ads/category.rb', line 13 attribute :name, API::Types::Coercible::String |
#subcategories ⇒ Array
15 |
# File 'lib/vk/api/ads/category.rb', line 15 attribute :subcategories, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil) |