Class: Vk::API::Photos::Methods::SaveOwnerPhoto

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

Overview

Saves a profile or community photo.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Photos::Methods::SaveOwnerPhoto

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :server (String)

    parameter returned after .

  • :hash (String)

    parameter returned after .

  • :photo (String)

    parameter returned after .



# File 'lib/vk/api/photos/methods/save_owner_photo.rb', line 15

Instance Method Details

#hashString

Returns parameter returned after .

Returns:

  • (String)

    parameter returned after .



27
# File 'lib/vk/api/photos/methods/save_owner_photo.rb', line 27

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

#photoString

Returns parameter returned after .

Returns:

  • (String)

    parameter returned after .



29
# File 'lib/vk/api/photos/methods/save_owner_photo.rb', line 29

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

#serverString

Returns parameter returned after .

Returns:

  • (String)

    parameter returned after .



25
# File 'lib/vk/api/photos/methods/save_owner_photo.rb', line 25

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