Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 564 Bytes

File metadata and controls

20 lines (14 loc) · 564 Bytes

Zernio::VoteRedditThingRequest

Properties

Name Type Description Notes
thing_id String Reddit fullname of the target. Prefix "t3_" for a post and "t1_" for a comment. A bare id with no prefix is treated as a post ("t3_").
direction Integer 1 to upvote, -1 to downvote, 0 to clear an existing vote

Example

require 'zernio-sdk'

instance = Zernio::VoteRedditThingRequest.new(
  thing_id: t3_abc123,
  direction: null
)