Class: Vk::API::Polls::Methods::DeleteVote

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

Overview

Deletes the current user's vote from the selected answer in the poll.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Polls::Methods::DeleteVote

Parameters:

  • arguments (Hash)

Options Hash (arguments):



# File 'lib/vk/api/polls/methods/delete_vote.rb', line 15

Instance Method Details

#answer_idInteger

Returns Answer ID.

Returns:

  • (Integer)

    Answer ID.



30
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 30

attribute :answer_id, API::Types::Coercible::Int

#is_boardBoolean



32
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 32

attribute :is_board, API::Types::Form::Bool.optional.default(nil)

#owner_idInteger

Returns ID of the user or community that owns the poll. Use a negative value to designate a community ID.

Returns:

  • (Integer)

    ID of the user or community that owns the poll. Use a negative value to designate a community ID.



26
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 26

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

#poll_idInteger

Returns Poll ID.

Returns:

  • (Integer)

    Poll ID.



28
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 28

attribute :poll_id, API::Types::Coercible::Int