Class: Vk::API::Audio::Methods::Save
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Audio::Methods::Save
- Defined in:
- lib/vk/api/audio/methods/save.rb
Overview
Saves audio files after successful [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploading].
Arguments collapse
-
#artist ⇒ String
The name of the artist.
-
#audio ⇒ String
This parameter is returned when the audio file is [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploaded to the server].
-
#hash ⇒ String
This parameter is returned when the audio file is [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploaded to the server].
-
#server ⇒ Integer
This parameter is returned when the audio file is [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploaded to the server].
-
#title ⇒ String
The title of the audio file.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Audio::Methods::Save constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#artist ⇒ String
Returns The name of the artist. By default, this is obtained from ID3 tags.
33 |
# File 'lib/vk/api/audio/methods/save.rb', line 33 attribute :artist, API::Types::Coercible::String.optional.default(nil) |
#audio ⇒ String
Returns This parameter is returned when the audio file is [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploaded to the server].
29 |
# File 'lib/vk/api/audio/methods/save.rb', line 29 attribute :audio, API::Types::Coercible::String |
#hash ⇒ String
Returns This parameter is returned when the audio file is [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploaded to the server].
31 |
# File 'lib/vk/api/audio/methods/save.rb', line 31 attribute :hash, API::Types::Coercible::String.optional.default(nil) |
#server ⇒ Integer
Returns This parameter is returned when the audio file is [https://vk.com/dev/upload_files_2?f=8.%20Uploading%20Audio%20Files|uploaded to the server].
27 |
# File 'lib/vk/api/audio/methods/save.rb', line 27 attribute :server, API::Types::Coercible::Int |