Class: Vk::API::Photos::Methods::ConfirmTag

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

Overview

Confirms a tag on a photo.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of the user or community that owns the photo.

  • :photo_id (String)

    Photo ID.

  • :tag_id (Integer)

    Tag ID.



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

Instance Method Details

#owner_idInteger

Returns ID of the user or community that owns the photo.

Returns:

  • (Integer)

    ID of the user or community that owns the photo.



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

attribute :owner_id, API::Types::Coercible::Int.optional.default(nil)

#photo_idString

Returns Photo ID.

Returns:

  • (String)

    Photo ID.



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

attribute :photo_id, API::Types::Coercible::String

#tag_idInteger

Returns Tag ID.

Returns:

  • (Integer)

    Tag ID.



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

attribute :tag_id, API::Types::Coercible::Int