Class: Vk::API::Audio::Methods::Save

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/audio/methods/save.rb

Overview

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Audio::Methods::Save

Parameters:

  • arguments (Hash)

Options Hash (arguments):



# File 'lib/vk/api/audio/methods/save.rb', line 15

Instance Method Details

#artistString

Returns The name of the artist. By default, this is obtained from ID3 tags.

Returns:

  • (String)

    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)

#audioString

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].

Returns:



29
# File 'lib/vk/api/audio/methods/save.rb', line 29

attribute :audio, API::Types::Coercible::String

#hashString

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].

Returns:



31
# File 'lib/vk/api/audio/methods/save.rb', line 31

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

#serverInteger

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].

Returns:



27
# File 'lib/vk/api/audio/methods/save.rb', line 27

attribute :server, API::Types::Coercible::Int

#titleString

Returns The title of the audio file. By default, this is obtained from ID3 tags.

Returns:

  • (String)

    The title of the audio file. By default, this is obtained from ID3 tags.



35
# File 'lib/vk/api/audio/methods/save.rb', line 35

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