Class: Vk::API::Ads::Methods::GetCategories

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/ads/methods/get_categories.rb

Overview

Returns a list of possible ad categories.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Ads::Methods::GetCategories

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :lang (String)

    Language. The full list of supported languages is .



# File 'lib/vk/api/ads/methods/get_categories.rb', line 15

Instance Method Details

#langString

Returns Language. The full list of supported languages is .

Returns:

  • (String)

    Language. The full list of supported languages is .



23
# File 'lib/vk/api/ads/methods/get_categories.rb', line 23

attribute :lang, API::Types::Coercible::String.optional.default(nil)