Class: Vk::API::Likes::Methods::Delete
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Likes::Methods::Delete
- Defined in:
- lib/vk/api/likes/methods/delete.rb
Overview
Deletes the specified object from the 'Likes' list of the current user.
Arguments collapse
-
#item_id ⇒ Integer
Object ID.
-
#owner_id ⇒ Integer
ID of the user or community that owns the object.
-
#type ⇒ String
Object type:; 'post' — post on user or community wall; 'comment' — comment on a wall post; 'photo' — photo; 'audio' — audio; 'video' — video; 'note' — note; 'photo_comment' — comment on the photo; 'video_comment' — comment on the video; 'topic_comment' — comment in the discussion; 'sitepage' — page of the site where the is installed.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Likes::Methods::Delete constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Likes::Methods::Delete
|
# File 'lib/vk/api/likes/methods/delete.rb', line 15
|
Instance Method Details
#item_id ⇒ Integer
Returns Object ID.
29 |
# File 'lib/vk/api/likes/methods/delete.rb', line 29 attribute :item_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the object.
27 |
# File 'lib/vk/api/likes/methods/delete.rb', line 27 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#type ⇒ String
Returns Object type:; 'post' — post on user or community wall; 'comment' — comment on a wall post; 'photo' — photo; 'audio' — audio; 'video' — video; 'note' — note; 'photo_comment' — comment on the photo; 'video_comment' — comment on the video; 'topic_comment' — comment in the discussion; 'sitepage' — page of the site where the is installed.
25 |
# File 'lib/vk/api/likes/methods/delete.rb', line 25 attribute :type, API::Types::Coercible::String |