Class: Vk::API::Audio::Methods::GetPopular
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Audio::Methods::GetPopular
- Defined in:
- lib/vk/api/audio/methods/get_popular.rb
Overview
Returns a list of audio files from the "Popular".
Arguments collapse
-
#count ⇒ Integer
Number of audio files to return.
-
#genre_id ⇒ Integer
Genre ID.
-
#offset ⇒ Integer
Offset needed to return a specific subset of audio files.
-
#only_eng ⇒ Boolean
'1' — to return only foreign audio files; '0' — to return all audio files;.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Audio::Methods::GetPopular
|
# File 'lib/vk/api/audio/methods/get_popular.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of audio files to return.
32 |
# File 'lib/vk/api/audio/methods/get_popular.rb', line 32 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#genre_id ⇒ Integer
Returns Genre ID. See .
28 |
# File 'lib/vk/api/audio/methods/get_popular.rb', line 28 attribute :genre_id, API::Types::Coercible::Int.optional.default(nil) |